[Xfce-i18n] Xfce 4.8 schedule changes
aliov at xfce.org
Tue Jan 26 13:25:43 CET 2010
On 01/26/2010 01:28 AM, Jannis Pohlmann wrote:
> (Question to the other developers: Didn't xfce4-session use HAL for
> logging out and stuff? We might have to look into replacing those
> portions of code with something based on ConsoleKit, I guess?)
I volunteer to take care of logout/reboot/shutdown/hibernate/suspend in
xfce4-session, i already have good experience with these kind of things
in xfpm (xfpm already uses consolekit in my devkit-power branch) so
implementing something similar in xfce4-session should be easy. My
1) Hibernate/Suspend should be done via upower (or HAL if it is running)
(no other high level options available)
2) Restart/Shutdown via Consolekit.
For (1) "org.freedesktop.devicekit.power.suspend" and
"org.freedesktop.devicekit.power.hibernate" polkit authority should be
verified, so there is dependency on polkit, but it can be kept optional,
or probably check the authorization via D-Bus without depending on
libpolkit directly (this is okay unless they decide to re-name the bus
name), or just blindly try to hibernate/suspend.
For (2), using Consolekit allow us to check for other active sessions
before reboot/shutdown and probably warn the user before, also there is
other features that we can benefit from.
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Xfce-i18n