Re: Openbox Session Management plugin





On Tue, May 24, 2011 at 10:41 PM, Francis Ferrell <codepanda gmail com> wrote:
I'd love some feedback on how I implemented reboot and shutdown...
should I be using /sbin/shutdown instead of halt and reboot for better
compatibility across linux distros?  

I use this command, this way I don't need sudo:

dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop

Needs dbus and consolekit for course.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]