[Xfce-i18n] Xfce 4.8 schedule changes

Ali Abdallah 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 
thoughts are:

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.

> Cheers,
> Jannis


> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce-i18n/attachments/20100126/e83b2f88/attachment.html>

More information about the Xfce-i18n mailing list