org.freedesktop.PowerManagement
Richard Hughes
hughsient at gmail.com
Thu Mar 29 15:23:24 PDT 2007
On Fri, 2007-03-30 at 00:21 +0200, Holger Macht wrote:
> Good point. For system sleep, the pm app knows best how to prepare
> this tricky thing. So Suspend()/Hibernate() is generally located
> there. For shutdown, and thus saving the session, saving all unsaved
> documents, etc. the desktop base itself should know best. So the
> method should got there. It might be clever to let
> Suspend()/Hibernate() be implemented by the pm app and
> Shutdown()/Reboot() by the desktop base. That wouldn't be possible
> with this spec IMO.
Then for desktops that have such facilities built-in we just proxy the
request from DBUS->DCOP for the KDE Restart() and Shutdown() case.
I don't think it's worth making all desktops run *two* session daemons
for essentially the same sort of information.
Richard.
More information about the xdg
mailing list