Page 1 of 1

prevent suspend when playing

Posted: Fri May 04, 2012 1:49 am
by dafreez
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.

prevent suspend when playing

Posted: Fri May 04, 2012 6:33 am
by l300lvl
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/

prevent suspend when playing

Posted: Tue May 08, 2012 8:59 am
by dafreez
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...

prevent suspend when playing

Posted: Sun Oct 28, 2012 4:19 am
by bmbaker
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)

prevent suspend when playing

Posted: Sun Oct 28, 2012 11:08 am
by l300lvl
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?

prevent suspend when playing

Posted: Sun Oct 28, 2012 5:18 pm
by bmbaker
it wks fine with vlc !

prevent suspend when playing

Posted: Mon Oct 29, 2012 8:16 am
by l300lvl
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-she ... n-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

prevent suspend when playing

Posted: Thu Nov 01, 2012 2:46 am
by bmbaker
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/1 ... -released/

prevent suspend when playing

Posted: Thu Nov 01, 2012 3:44 pm
by bmbaker

prevent suspend when playing

Posted: Fri Nov 02, 2012 11:44 am
by bmbaker
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/1 ... -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-she ... n-caffeine, not sure if it will wk in 3.6 ?