From 069cfc85f876bb6966cb5a9bbe0235f5064622cd Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 30 May 2012 15:01:51 +0200 Subject: logind: optionally handle power, sleep and lid switch events This takes handling of chassis power and sleep keys as well as the lid switch over from acpid. This logic is enabled by default for power and sleep keys, but not for the lid switch. If a graphical session is in the foreground no action is taken under the assumption that the graphical session does this. --- src/login/logind.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/login/logind.conf') diff --git a/src/login/logind.conf b/src/login/logind.conf index c0779a7685..4f012e5d89 100644 --- a/src/login/logind.conf +++ b/src/login/logind.conf @@ -15,3 +15,6 @@ #Controllers= #ResetControllers=cpu #InhibitDelayMaxSec=5 +#HandlePowerKey=yes +#HandleSleepKey=yes +#HandleLidSwitch=no -- cgit v1.2.3-54-g00ecf