Bug#1060389: systemd: logind: HandlePowerKeyLongPress doesn't appear to work

Michael Biebl email at michaelbiebl.de
Wed Jan 10 14:40:27 GMT 2024


Am 10.01.24 um 15:26 schrieb наб:
> Package: systemd
> Version: 255.2-4
> Severity: normal
> 
> Dear Maintainer,
> 
> As you can see in my logind.conf,
> I have re-mapped the power key to suspend,
> and long-pressing the power key to hibernate.
> 
> When I click the power key the machine suspends instantly
> (and under X I see XF86PowerOff).
> But this actually happens no matter how long I hold the button for,
> and hibernation never occurs.

Maybe your desktop environment intercepts/interprets those keys?

Can you confirm the issue when being logged into the kernel console only 
(i.e. no desktop environment running)?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20240110/88d33146/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list