Share xfce4-session and xfce4-power-manager code
nickschermer at gmail.com
Tue Feb 15 15:01:35 CET 2011
On Tue, Feb 15, 2011 at 11:47 AM, Landry Breuil <landry.breuil at gmail.com> wrote:
> On Tue, Feb 15, 2011 at 11:43 AM, Nick Schermer <nickschermer at gmail.com> wrote:
>> There is a lot of consolekit/polkit code duplicated in
>> xfce4-power-manager/xfce4-session. The code in xfce4-session is also a
>> bit of a mess since everything is in 1 file, xfce4-power-manager seems
>> to be more ordered in this aspect. To resolve this there are a couple
>> of possible solutions:
>> 1) Remove all shutdown/suspend handling from xfce4-session and use
>> xfce4-power-manager for this (it can act as a dbus service).
About the dbus part, org.freedesktop.PowerManagement seems to be
implemented by xfce4-power-manager, but not so much by g-p-m anymore
(?). Is it a dead spec?
More information about the Xfce4-dev