There are several ways to shutdown the system using DBus, via ConsoleKit,
PowerManager and probably DeviceKit. Last night I only researched the
ConsoleKit way and managed to shutdown my system. I will write a patch for
SABnzbd later today. Probably using all methods to shutdown the system, that
way it should work on most systems. I believe PowerManager is going to be
depricated as it depends on hal, IIRC.
I also supposed that it's possible to achieve it using DBus. A problem
is that the power management Dbus API changed alot lately, probably
because of the HAL deprecation. We actually had a plug-in ready for
0.5.2 which used the power management API (prevent system hibernation)
but I removed it again when I noticed that it just wouldn't work on
Ubuntu 9.10.
-- Provide an option to stop the computer when all downloads are completed https://bugs.launchpad....
You received this bug notification because you are a bug assignee.
Status in LottaNZB • Automated Usenet Client: Confirmed
Bug description: Not a bug but a feature request. Title is pretty
self-explanatory I think.
There are several ways to shutdown the system using DBus, via ConsoleKit,
PowerManager and probably DeviceKit. Last night I only researched the
ConsoleKit way and managed to shutdown my system. I will write a patch for
SABnzbd later today. Probably using all methods to shutdown the system, that
way it should work on most systems. I believe PowerManager is going to be
depricated as it depends on hal, IIRC.
On 2009 9 24 08:20, "Severin Heiniger" <email address hidden> wrote:
I also supposed that it's possible to achieve it using DBus. A problem
is that the power management Dbus API changed alot lately, probably
because of the HAL deprecation. We actually had a plug-in ready for
0.5.2 which used the power management API (prevent system hibernation)
but I removed it again when I noticed that it just wouldn't work on
Ubuntu 9.10.
-- Provide an option to stop the computer when all downloads are completed /bugs.launchpad....
https:/
You received this bug notification because you are a bug assignee.
Status in LottaNZB • Automated Usenet Client: Confirmed
Bug description: Not a bug but a feature request. Title is pretty
self-explanatory I think.