diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-05-30 21:40:32 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-05-30 21:40:32 +0200 |
commit | 6de0e0e500d9d534c6e4baab242fc2a146f021fa (patch) | |
tree | d46012c1b2dad86a5e995d49073aeb6bd3d42ea2 /man | |
parent | 632c2e4123e4b4dc81792caee6220797c853d53e (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 'man')
-rw-r--r-- | man/logind.conf.xml | 50 |
1 files changed, 32 insertions, 18 deletions
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 - <literal>no</literal>, - <literal>yes</literal> and + <literal>off</literal>, + <literal>no-session</literal>, + <literal>tty-session</literal>, + <literal>any-session</literal> and <literal>always</literal>. If - <literal>no</literal> logind will + <literal>off</literal> logind will never handle these keys. If - <literal>yes</literal> logind will - handle these keys when no user is + <literal>no-session</literal> 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 + <literal>tty-session</literal> 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 + <literal>any-session</literal> 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 <literal>always</literal> 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 <literal>power-switch</literal> - 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 + <literal>power-switch</literal> udev + tag will be watched for key events. <varname>HandlePowerKey=</varname> - and <varname>HandleSleepKey=</varname> - default to <literal>yes</literal>, + defaults to + <literal>no-session</literal>. + <varname>HandleSleepKey=</varname> + defaults to + <literal>tty-session</literal>, <varname>HandleLidSwitch=</varname> defaults to - <literal>no</literal>.</para></listitem> + <literal>off</literal>.</para></listitem> </varlistentry> </variablelist> |