shutdown

Asked by kilo on 2010-01-14

Is it possible to let lottaNZB shutdown the computer after it finnishes it's job?. If I use the settings in powercontrol the sysytems shuts down after the time I choice there even if the Lotta is still busy. If I tell it not to go to hybernate is stay's on for ever.

Question information

Language:
English Edit question
Status:
Solved
For:
LottaNZB Edit question
Assignee:
No assignee Edit question
Solved by:
Severin Heiniger
Solved:
2010-01-16
Last query:
2010-01-16
Last reply:
2010-01-14
Best Severin Heiniger (severinh) said : #1

Hi kilo,

unfortunately, LottaNZB/HellaNZB don't offer this feature at the moment. During the development of LottaNZB 0.5, we actually had a plug-in just for that purpose. It prevented the computer from hibernating while LottaNZB was still busy. We removed it, because it didn't work anymore starting with Ubuntu 9.04, since the power management APIs have have been replaced. It might have been a better idea to extend the plug-in in a way that it supports both the old and the new API.

I'll bring back the plug-in from the source code graveyard and check if it's possible to resurrect it. :-P May be this would even be worth releasing LottaNZB 0.5.3.

Regards,
Severin

kilo (jhmatze) said : #2

thanks looking forward to it

Severin Heiniger (severinh) said : #3

Hi kilo,

the plug-in is ready to be tested. It should work with both APIs (so both Ubuntu 9.04 and Ubuntu 9.10 as well as other Linux distributions).

If you happen to use Ubuntu, would you mind giving the plug-in a try? Open a terminal and enter

sudo apt-get install bzr
bzr branch lp:~lottanzb/lottanzb/inhibit-suspending-plugin lottanzb-with-plugin
cd lottanzb-with-plugin
python run-lottanzb.sh

Enable the plug-in in the preferences.

Severin Heiniger (severinh) said : #4

It looks like because of a bug in gnome-power-manager, the plug-in will not work both on Ubuntu 9.10 and 10.04. This makes releasing a new version of LottaNZB containing this plug-in rather counter-productive.

Too bad.