[Pkg-xfce-devel] Bug#738294: Bug#738294: needs to inhibit systemd handling of lid close and power button

Yves-Alexis Perez corsac at debian.org
Sun Feb 9 09:24:18 UTC 2014


Control: reassign -1 xfce4-power-manager
Control: forcemerge #727605 -1
On Sat, Feb 08, 2014 at 07:51:56PM -0400, Joey Hess wrote:
> Package: xfce4
> Version: 4.10.1
> Severity: normal
> 
> In xfce4-power-manager, I have the system configured to suspend
> when the laptop lid is closed, or when the power button is pressed.
> 
> When booted with systemd, closing the lid causes the system to suspend.
> Opening the lid then causes it to resume, followed immediately by it
> suspending again. I can then press the power button to resume.
> 
> If I press the power button while the system is running, it does a hard
> shutdown with no prompting about eg, data loss (bug priority may be too
> low..).
> 
> FWIW, ck-list-sessions does list a login session.
> 
> I am using xfce, with lightdm or gdm3 (doesn't matter), and systemd.
> Basically, the standard Debian jessie desktop confguration, except
> that my window manager is xmonad (started by xfce4-session-manager
> and unlikely to be relevant).
> 
> Per #717661, the solution to this seems to be for some long-running process
> (such as xfce itself) using systemd-inhibit. I find I need to pass
> --what=handle-lid-switch:handle-power-key

I think we already track this at #727605 and I was more or less waiting
for 

- a decision from the tech-ctte on the init system
- some kind of blessing from upstream (there are patches adding support
  for logind)

Regards,
-- 
Yves-Alexis Perez
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20140209/95a72d9a/attachment.sig>


More information about the Pkg-xfce-devel mailing list