Le lundi 22 novembre 2010 à 18:01 +0100, Julian Andres Klode a écrit : > > It should, instead, use the gnome-session D-Bus interface when > > available, so that applications are closed cleanly. > > It runs org.gnome.SessionManager.RequestReboot() first, if that fails it > uses HAL. If I recall correctly, RequestReboot() is an Ubuntu-specific > extension and not available in Debian, and something I wanted to work > around.
I think it should request org.gnome.SessionManager.Shutdown() if the first attempt fails. And if this one fails it should use ConsoleKit instead of HAL. Would this be suitable? -- .''`. : :' : “You would need to ask a lawyer if you don't know `. `' that a handshake of course makes a valid contract.” `- -- J???rg Schilling -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

