prevent suspend when playing
  • I often use guayadeque to listen to music while I work (not on the computer) After 10 minutes Gnome Power Manager activates suspend. I can use sleep inhibitor to prevent this, but a feature/option that prevents the computer suspending while guayadeque is playing music would be awesome.
  • Have you ever heard of Caffeine? It allows you to control a list of applications which if detected the program will then inhibit sleep for you. I actually like caffeine because I can control inhibit for the entire system all with one app. I have used it for over 2 years now on various distros and it uses VERY little overhead, so little I never realize it's even running.

    It is probably in the ubuntu/mint repos and I know it is also available for openSuSe, but let me know if you need help. http://launchpad.net/caffeine/
  • I just switched for caffeine. I like the possibility to list apps which prevent suspend. Ideally, however, I would want it to only prevent suspend when guayadeque is actually playing music and not if ti is running but paused/stopped...
  • i have been trying to get guayadeque to wk with caffeine but no joy!
    if i use guayadeque or /usr/bin/guayadeque i get nothing !
    any ideas?
    I am running gnome-shell 3.7.1 with ubuntu 12.10 (quantal)
  • So basically under 3.7.1, after adding guayadeque to Caffeine's list, the screen still locks or blanks?

    Can you check that caffeine works/doesn't work, with another app like vlc or totem?
  • it wks fine with vlc !
  • ok. i asked because i have problems in 3.6 where the screen constantly locks after a certain time regardless of what i'm doing, so it might be a 3.6 specific bug. i was curious if it affected you as well.

    you could always try something else like manually installing the Caffeine extension:

    https://github.com/eonpatapon/gnome-shell-extension-caffeine

    You need to download the zip and change the metadata version to 3.7 then save it and extract everything in it to ~/.local/share/gnome-shell/extensions/caffeine@patapon.info

    An empty cup signifies the screensaver is being inhibited
  • i have just tried it in 3.6 and 3.7 and your right it doesn't wk
    i did some googling :-)
    http://pragmattica.wordpress.com/2009/10/21/caffeine-1-0-released/
  • so i got guayadeque to wk with caffeine
    first i added /usr/share/applications/guayadeque to the "List of programs Caffeine activates for"
    then i played ..... found that the full coffee cup keeps your computer from going to sleep!

    http://pragmattica.wordpress.com/2009/10/21/caffeine-1-0-released/
    "When you click on it, the coffee-cup fills up and keeps your computer from going to sleep!"

    this wks in GS 3.7.1 i manually installed the caffeine extension from https://github.com/eonpatapon/gnome-shell-extension-caffeine, not sure if it will wk in 3.6 ?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID

In this Discussion