org.freedesktop.PowerManagement

Richard Hughes hughsient at gmail.com
Fri Mar 30 02:28:31 PDT 2007


On Fri, 2007-03-30 at 11:21 +0200, Danny Kukawka wrote:
> 
> But then the desktop should provide such a DBus interface and not the 
> powermanager. 

The GNOME desktop provides gnome-power-manager which implements the
interface. I really don't see where the "desktop" starts and the
"power-manager" ends.

> IMO it make no sense that KPowersave or any other powermanager on the
> desktop are only proxies to the real shutdown method of the desktop.

Why not? You want cross platform applications to start talking DCOP?

>  This would allow for example KPowersave (or any other tool) to get
> start under gnome and shutdown the session if needed without to know
> the prefered method under GNOME or KDE or XFCE. 

So implement o.fd.pm in KDE core (what ever it's called) and then don't
worry. Splitting up Hibernate and Reboot mean the Inhibit interaction
gets *waaaayyy* complicated for a really common use case.

Basically, in my opinion there's much more to gain putting the methods
on one interface (even if we have to just proxy two of them) than the
pain of splitting them up.

Richard.




More information about the xdg mailing list