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= #KillOnlyUsers=
#KillExcludeUsers=root #KillExcludeUsers=root
#InhibitDelayMaxSec=5 #InhibitDelayMaxSec=5
#HandlePowerKey=poweroff HandlePowerKey=ignore
#HandleSuspendKey=suspend HandlePowerKeyLongPress=poweroff
#HandleHibernateKey=hibernate HandleRebootKey=ignore
HandleRebootKeyLongPress=reboot
HandleSuspendKey=ignore
HandleSuspendKeyLongPress=suspend
HandleHibernateKey=ignore
HandleHibernateKeyLongPress=hibernate
HandleLidSwitch=ignore HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore HandleLidSwitchDocked=ignore