]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
logind: also show long press settings in default logind.conf
authorLennart Poettering <lennart@poettering.net>
Tue, 5 Apr 2022 13:52:49 +0000 (15:52 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 5 Apr 2022 14:10:21 +0000 (16:10 +0200)
The configuration options where added back in
a520bb665417af7aa98dcb983f3583659bbab807 but this was never actually
added to the default logind.conf.

Follow-up-for: a520bb665417af7aa98dcb983f3583659bbab807
Follow-up-for: #19917

src/login/logind.conf.in

index 926bd6cfe9812d755418e45d05c305d2b12c5163..8ec979e0e82e43e63c60f04ba5858a1138353638 100644 (file)
 #InhibitDelayMaxSec=5
 #UserStopDelaySec=10
 #HandlePowerKey=poweroff
+#HandlePowerKeyLongPress=ignore
+#HandleRebootKey=reboot
+#HandleRebootKeyLongPress=poweroff
 #HandleSuspendKey=suspend
+#HandleSuspendKeyLongPress=hibernate
 #HandleHibernateKey=hibernate
+#HandleHibernateKeyLongPress=ignore
 #HandleLidSwitch=suspend
 #HandleLidSwitchExternalPower=suspend
 #HandleLidSwitchDocked=ignore
-#HandleRebootKey=reboot
-#HandleRebootKeyLongPress=poweroff
 #PowerKeyIgnoreInhibited=no
 #SuspendKeyIgnoreInhibited=no
 #HibernateKeyIgnoreInhibited=no