org.freedesktop.PowerManagement
Holger Macht
hmacht at suse.de
Thu Mar 29 15:41:32 PDT 2007
On Thu 29. Mar - 23:33:03, Richard Hughes wrote:
> On Fri, 2007-03-30 at 00:30 +0200, Holger Macht wrote:
> >
> > And it will be that way. g-p-m isn't calling the gnome session logout
> > method when it gets a Shutdown() call?
>
> Yes, it's doing:
>
> gnome_client_request_save (gnome_master_client (),
> GNOME_SAVE_GLOBAL,
> FALSE, GNOME_INTERACT_NONE, FALSE, TRUE);
>
> > > (Of course it would be easier to just remove Shutdown()/Reboot()
> > from
> > > the spec and leave this problem to people who care session
> > management)
> >
> > IMO, it wouldn't be just easier, but more correct.
>
> Think of the vendors. I really want people to use a dbus interface where
> we can do clever things and talk to the session in an abstract way,
> rather than just having scripts calling /sbin/shutdown
You are completely right. I'm not involved enough in the desktop to tell
if there are any efforts to standardize Shutdown(). But if there are not,
someone should start doing it.
Regards,
Holger
More information about the xdg
mailing list