Prevent computer to suspend

Suggestions and discussion of future versions
Post Reply
yopnono
New User
New User
Posts: 6
Joined: Thu Jun 14, 2007 7:47 am

Prevent computer to suspend

Post by yopnono »

Is there a way to make deluge prevent the computer to suspend, when deluge is running and downloading?
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: Prevent computer to suspend

Post by markybob »

yopnono wrote:Is there a way to make deluge prevent the computer to suspend, when deluge is running and downloading?
nope. not directly from within deluge, at least. i remember hearing about a daemon that would do this, though. you tell it which applications you want it to watch for and if they're running it wont let powersave kick in. cant remember what it was called...google is your friend :)
yopnono
New User
New User
Posts: 6
Joined: Thu Jun 14, 2007 7:47 am

Re: Prevent computer to suspend

Post by yopnono »

Ok, it was not that solution I was looking for :)
andreas.dalsgaard

Re: Prevent computer to suspend

Post by andreas.dalsgaard »

I've hacked together a small plugin to do this.
Extract the file in ~/.config/deluge/plugins
Now start deluge and activate the Prevent Suspend plugin
Attachments
PreventSuspend.tar.gz
(1.42 KiB) Downloaded 525 times
Post Reply