Hi, as it seems, Fedora has several other issues with systemd's inhibit.
system hibernation should be prohibited after kernel update https://bugzilla.redhat.com/show_bug.cgi?id=843014 Systemd service should inhibit suspend while remote users are logged in via ssh https://bugzilla.redhat.com/show_bug.cgi?id=837109 Maybe it's better to disable systemd power management for the Xfce spin, till all that issues are fixed for sure. -R. > Date: Sat, 20 Oct 2012 10:29:52 +0200 > From: Raphael Groner <[email protected]> > To: [email protected] > Subject: Re: Re: heads up about f18+ and lid/power buttons > Message-ID: <20121020102952.49cd3574@schlebby> > Content-Type: text/plain; charset=UTF-8 > > Hi Kevin, > > thanks for giving the hint for the workaround to inhibit systemd > trying to take over the lid handling. This is not senseful for Xfce > systems, right! > > I am on a freshly updated Manjaro system (ArchLinux) here. So this > issue has nothing to do with Fedora in particular and should be > handled upstream somewhere, either systemd (looks for other power > managers already active in the system, maybe…) or desktop handlers > should instruct systemd as the backend what to do. That design needs > clearly rethinking, IMHO. > > I've added a comment to the upstream bug. > > -R. > > > > Just a note here in case any folks run into it before we fix it. > > > > systemd now by default handles lid button, power button, etc. > > > > This means that if you have xfce4-power-manager and have it doing > > something different from 'suspend' on lid close (I have mine set to > > "lock screen"), systemd will suspend for you. > > > > You can work around this by setting a startup command: > > > > systemd-inhibit --mode=block --what=handle-lid-switch sleep 1000000 > > & > > > > Ideally we would fix this in xfce4-power-manager and it would > > inhibit anything that it wants to handle itself. Failing that, we > > could add the inhibit to startxfce4, but that means that none of > > those buttons would get handled if xfce4-power-manager wasn't > > installed or running. > > > > See upstream bugs: > > https://bugzilla.xfce.org/show_bug.cgi?id=9326 > > https://bugzilla.xfce.org/show_bug.cgi?id=9335 > > > > kevin _______________________________________________ xfce mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/xfce
