From 6de0e0e500d9d534c6e4baab242fc2a146f021fa Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 30 May 2012 21:40:32 +0200 Subject: 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. --- man/logind.conf.xml | 50 ++++++++++++++++++++++++++++++++------------------ 1 file changed, 32 insertions(+), 18 deletions(-) (limited to 'man/logind.conf.xml') diff --git a/man/logind.conf.xml b/man/logind.conf.xml index 09db600143..35a7d4855e 100644 --- a/man/logind.conf.xml +++ b/man/logind.conf.xml @@ -170,33 +170,47 @@ and sleep keys and the lid switch to trigger system power-off or suspend. Can be one of - no, - yes and + off, + no-session, + tty-session, + any-session and always. If - no logind will + off logind will never handle these keys. If - yes logind will - handle these keys when no user is + no-session logind + will handle these keys when no user is logged in and no inhibitor lock is taken, and trigger a warnig beep otherwise. If set to + tty-session logind + will handle these keys if no inhibitor + lock is taken, and either no user is + logged in or the foreground session is + a text login and the only one + existing. If + any-session is set + logind will handle these keys if no + inhibitor lock is taken, and either no + user is logged in or the foreground + session is the only one existing + (regardless whether graphical or + text). If set to always logind will - handle these keys even if a user is - logged in or an inhibitor lock is - taken. In all cases logind will not - handle these keys if a graphical - session is in the foreground under the - assumption that the graphical session - will handle these keys - internally. Only input devices with - the power-switch - udev tag will be watched for key + handle these keys in any case, even if + one or more users are logged in or an + inhibitor lock is taken. Only input + devices with the + power-switch udev + tag will be watched for key events. HandlePowerKey= - and HandleSleepKey= - default to yes, + defaults to + no-session. + HandleSleepKey= + defaults to + tty-session, HandleLidSwitch= defaults to - no. + off. -- cgit v1.2.3-54-g00ecf