From acc63800bcb4065942ed414c2b1119b7d1e3a191 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 5 Apr 2022 15:52:49 +0200 Subject: [PATCH] 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 --- src/login/logind.conf.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.47.3