From: Lennart Poettering Date: Tue, 5 Apr 2022 13:52:49 +0000 (+0200) Subject: logind: also show long press settings in default logind.conf X-Git-Tag: v251-rc2~192^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=acc63800bcb4065942ed414c2b1119b7d1e3a191;p=thirdparty%2Fsystemd.git logind: also show long press settings in default logind.conf 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 --- diff --git a/src/login/logind.conf.in b/src/login/logind.conf.in index 926bd6cfe98..8ec979e0e82 100644 --- a/src/login/logind.conf.in +++ b/src/login/logind.conf.in @@ -23,13 +23,16 @@ #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