summaryrefslogtreecommitdiff
path: root/src/login/logind.conf
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-05-30 21:40:32 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-30 21:40:32 +0200
commit6de0e0e500d9d534c6e4baab242fc2a146f021fa (patch)
treed46012c1b2dad86a5e995d49073aeb6bd3d42ea2 /src/login/logind.conf
parent632c2e4123e4b4dc81792caee6220797c853d53e (diff)
logind: rework button setting semantics
If a graphical session without full DE that handles power/suspend events is used this can now be controlled by logind instead, optionally.
Diffstat (limited to 'src/login/logind.conf')
-rw-r--r--src/login/logind.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/login/logind.conf b/src/login/logind.conf
index 4f012e5d89..78496a0ef1 100644
--- a/src/login/logind.conf
+++ b/src/login/logind.conf
@@ -15,6 +15,6 @@
#Controllers=
#ResetControllers=cpu
#InhibitDelayMaxSec=5
-#HandlePowerKey=yes
-#HandleSleepKey=yes
-#HandleLidSwitch=no
+#HandlePowerKey=no-session
+#HandleSleepKey=tty-session
+#HandleLidSwitch=off