Handle long-press system keys only (#1874)
Only handle long-press system power, reboot and sleep keys.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user