Share xfce4-session and xfce4-power-manager code

Jannis Pohlmann jannis at xfce.org
Sun Feb 20 15:19:37 CET 2011


On Sun, 20 Feb 2011 15:14:22 +0100
Nick Schermer <nickschermer at gmail.com> wrote:

> On Sun, Feb 20, 2011 at 3:06 PM, Jannis Pohlmann <jannis at xfce.org>
> wrote:
> > On Wed, 16 Feb 2011 14:55:25 +0100
> > Ali Abdallah <aliov at xfce.org> wrote:
> >
> >> Ok cool, i'll release the version that i'm currently preparing,
> >> after that i'll be working to have a separate dbus session service
> >> (part of xfpm) that can be used by xfpm and xfce4-session.
> >
> > I agree with Nick that this probably is the best option we have.
> >
> > One note though: I might have missed something in the discussion but
> > the separate service you are talking about doesn't have to be a
> > separate app, does it? You could simply make xfce4-power-manager a
> > simple power management service that runs in the background and
> > provides suspend/hibernate/shutdown/reboot/(logout?) methods (with
> > error reporting) to other applications like the session manager over
> > D-Bus.
> 
> That was also my idea, but I don't know Ali's opinion on this.
> Xfce4-power-manager can be used; In that case only the new methods
> need to be implemented and a .service file needs be be installed for
> org.xfce.Power.Manager (shouldn't this be org.xfce.PowerManager?) so
> dbus can auto-launch it.

Yeah, org.xfce.PowerManager is better.

  - Jannis



More information about the Xfce4-dev mailing list