singleslkp.blogg.se

Add spotify to ubuntu
Add spotify to ubuntu











add spotify to ubuntu

Let me know if these don't work for the suspension and I'll try and hack something together using xdotool or similar programs. Note that this does not check whether any music is playing, just whether the program is running. and it should stop you from suspending if spotify is running. Then, add the script to your startup programs so it runs in the background. Just add spotify to the delay_progs array at the beginging of the script: delay_progs=("spotify") It won't check spotify by default but it is easy enough to modify it to do so. When running, it will prevent the screensaver from activating so long as the active window is full screen. Note: As of the 2.7 release of caffeine, the program no longer has a GUI and works only as a daemon. You can choose which programs should cancel suspending.

add spotify to ubuntu

Then, launch caffeine and its icon should appear in your system tray. sudo add-apt-repository ppa:caffeine-developers/ppa As long as you're using the normal Mint, this should also work for you. This can be done by adding a ppa to your system and then installing it like any other package. You'll have to test this though, I'm not sure it will work. I have not tested this but since they presumably issue events to stop the activation (the second does at least), that should also count as activity for the inactivity monitor. I found this article which suggests a couple of ways to stop the screensaver from activating.













Add spotify to ubuntu