Handle long-press system keys only (#1874)

Only handle long-press system power, reboot and sleep keys.
This commit is contained in:
Stefan Agner 2022-04-27 20:33:39 +02:00 committed by GitHub
parent bd52b7e97b
commit a9c2eedc71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,9 +18,14 @@
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
HandlePowerKey=ignore
HandlePowerKeyLongPress=poweroff
HandleRebootKey=ignore
HandleRebootKeyLongPress=reboot
HandleSuspendKey=ignore
HandleSuspendKeyLongPress=suspend
HandleHibernateKey=ignore
HandleHibernateKeyLongPress=hibernate
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore