X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Flogind.conf.xml;h=33ddf621e057deaa0bf64403d97951e8e7ae3ea0;hb=31f92a7df427593532d221dd715e2e0a5b6f3a96;hp=09db6001433521379733ac65049eb982623e3a57;hpb=069cfc85f876bb6966cb5a9bbe0235f5064622cd;p=elogind.git
diff --git a/man/logind.conf.xml b/man/logind.conf.xml
index 09db60014..33ddf621e 100644
--- a/man/logind.conf.xml
+++ b/man/logind.conf.xml
@@ -48,13 +48,13 @@
- logind.conf
+ /etc/systemd/logind.conf
Description
- This files configures various parameters of the systemd login manager.
+ This files configures various parameters of the systemd login manager systemd-logind.service8.
@@ -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.
@@ -220,6 +234,7 @@
See Also
systemd1,
+ systemd-logind.service8,
loginctl1,
systemd.conf5