Power management in Xfce 4.10

Yves-Alexis Perez corsac at debian.org
Sat Oct 29 15:33:26 CEST 2011

On sam., 2011-10-29 at 15:15 +0200, Nick Schermer wrote:
> I've looked into the shutdown mess we have right now and have the
> following proposal to clean this up.
> In the current situation both xfce4-session and xfce4-power-manager
> have code to shutdown/reboot/etc though consolekit, upower and sudo.
> Shutdown is a bit better implemented in xfce4-session because of the
> fallback to sudo.
> The initial idea was to move everything to xfce4-power-manager and let
> xfce4-session make calls over d-bus, however not such a good idea. So
> I suggest we make it work like below: 

Hmh, I'm not too sure what does this mean, so here's a summary attempt:

* xfce4-session handles shutdown/reboot (optional dep on consolekit)
* xfce4-power-manager handles suspend/hibernate (hard dep on upower)

and both call each other over dbus when they need the services provided
by the other.

Does that make sense?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20111029/97370df3/attachment.pgp>

More information about the Xfce4-dev mailing list