diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 03:50:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 03:50:42 +0000 |
commit | 78e9bb837c258ac0ec7712b3d612cc2f407e731e (patch) | |
tree | f515d16b6efd858a9aeb5b0ef5d6f90bf288283d /man/logind.conf.xml | |
parent | Adding debian version 255.5-1. (diff) | |
download | systemd-78e9bb837c258ac0ec7712b3d612cc2f407e731e.tar.xz systemd-78e9bb837c258ac0ec7712b3d612cc2f407e731e.zip |
Merging upstream version 256.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | man/logind.conf.xml | 74 |
1 files changed, 43 insertions, 31 deletions
diff --git a/man/logind.conf.xml b/man/logind.conf.xml index 72f657c..c52431f 100644 --- a/man/logind.conf.xml +++ b/man/logind.conf.xml @@ -1,6 +1,6 @@ <?xml version='1.0'?> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" - "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ <!ENTITY % entities SYSTEM "custom-entities.ent" > %entities; ]> @@ -25,10 +25,16 @@ </refnamediv> <refsynopsisdiv> - <para><filename>/etc/systemd/logind.conf</filename></para> - <para><filename>/etc/systemd/logind.conf.d/*.conf</filename></para> - <para><filename>/run/systemd/logind.conf.d/*.conf</filename></para> - <para><filename>/usr/lib/systemd/logind.conf.d/*.conf</filename></para> + <para><simplelist> + <member><filename>/etc/systemd/logind.conf</filename></member> + <member><filename>/run/systemd/logind.conf</filename></member> + <member><filename>/usr/local/lib/systemd/logind.conf</filename></member> + <member><filename>/usr/lib/systemd/logind.conf</filename></member> + <member><filename>/etc/systemd/logind.conf.d/*.conf</filename></member> + <member><filename>/run/systemd/logind.conf.d/*.conf</filename></member> + <member><filename>/usr/local/lib/systemd/logind.conf.d/*.conf</filename></member> + <member><filename>/usr/lib/systemd/logind.conf.d/*.conf</filename></member> + </simplelist></para> </refsynopsisdiv> <refsect1> @@ -143,18 +149,10 @@ <term><varname>IdleAction=</varname></term> <listitem><para>Configures the action to take when the system - is idle. Takes one of - <literal>ignore</literal>, - <literal>poweroff</literal>, - <literal>reboot</literal>, - <literal>halt</literal>, - <literal>kexec</literal>, - <literal>suspend</literal>, - <literal>hibernate</literal>, - <literal>hybrid-sleep</literal>, - <literal>suspend-then-hibernate</literal>, and - <literal>lock</literal>. - Defaults to <literal>ignore</literal>.</para> + is idle. Takes one of <literal>ignore</literal>, <literal>poweroff</literal>, <literal>reboot</literal>, + <literal>halt</literal>, <literal>kexec</literal>, <literal>suspend</literal>, <literal>hibernate</literal>, + <literal>hybrid-sleep</literal>, <literal>suspend-then-hibernate</literal>, <literal>sleep</literal>, + and <literal>lock</literal>. Defaults to <literal>ignore</literal>.</para> <para>Note that this requires that user sessions correctly report the idle status to the system. The system will execute @@ -201,6 +199,20 @@ </varlistentry> <varlistentry> + <term><varname>SleepOperation=</varname></term> + + <listitem><para>Takes a list of sleep operations. Possible values are <literal>suspend</literal>, + <literal>hibernate</literal>, <literal>hybrid-sleep</literal>, and <literal>suspend-then-hibernate</literal>. + Controls the candidate sleep operations for the <literal>sleep</literal> action. When <literal>sleep</literal> + action is performed, the specified sleep operations are checked in a fixed order (<literal>suspend-then-hibernate</literal> + → <literal>hybrid-sleep</literal> → <literal>suspend</literal> → <literal>hibernate</literal>), and + the first one supported by the machine is used to put the system into sleep. Defaults to + <literal>suspend-then-hibernate suspend hibernate</literal>.</para> + + <xi:include href="version-info.xml" xpointer="v256"/></listitem> + </varlistentry> + + <varlistentry> <term><varname>HandlePowerKey=</varname></term> <term><varname>HandlePowerKeyLongPress=</varname></term> <term><varname>HandleRebootKey=</varname></term> @@ -215,10 +227,9 @@ <listitem><para>Controls how logind shall handle the system power, reboot and sleep keys and the lid switch to trigger actions such as system power-off, reboot or suspend. Can be one of - <literal>ignore</literal>, <literal>poweroff</literal>, <literal>reboot</literal>, - <literal>halt</literal>, <literal>kexec</literal>, <literal>suspend</literal>, - <literal>hibernate</literal>, <literal>hybrid-sleep</literal>, - <literal>suspend-then-hibernate</literal>, <literal>lock</literal>, and + <literal>ignore</literal>, <literal>poweroff</literal>, <literal>reboot</literal>, <literal>halt</literal>, + <literal>kexec</literal>, <literal>suspend</literal>, <literal>hibernate</literal>, <literal>hybrid-sleep</literal>, + <literal>suspend-then-hibernate</literal>, <literal>sleep</literal>, <literal>lock</literal>, and <literal>factory-reset</literal>. If <literal>ignore</literal>, <command>systemd-logind</command> will never handle these keys. If <literal>lock</literal>, all running sessions will be screen-locked; otherwise, the specified action will be taken in the respective event. Only input devices with the @@ -372,10 +383,11 @@ <term><varname>StopIdleSessionSec=</varname></term> <listitem><para>Specifies a timeout in seconds, or a time span value after which - <filename>systemd-logind</filename> checks the idle state of all sessions. Every session that is idle for - longer then the timeout will be stopped. Defaults to <literal>infinity</literal> - (<filename>systemd-logind</filename> is not checking the idle state of sessions). For details about the syntax - of time spans, see + <filename>systemd-logind</filename> checks the idle state of all sessions. Every session that is idle + for longer than the timeout will be stopped. Note that this option doesn't apply to + <literal>greeter</literal> or <literal>lock-screen</literal> sessions. Defaults to + <literal>infinity</literal> (<filename>systemd-logind</filename> is not checking the idle state + of sessions). For details about the syntax of time spans, see <citerefentry><refentrytitle>systemd.time</refentrytitle><manvolnum>7</manvolnum></citerefentry>. </para> @@ -386,12 +398,12 @@ <refsect1> <title>See Also</title> - <para> - <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, - <citerefentry><refentrytitle>systemd-logind.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>, - <citerefentry><refentrytitle>loginctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>, - <citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry> - </para> + <para><simplelist type="inline"> + <member><citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry></member> + <member><citerefentry><refentrytitle>systemd-logind.service</refentrytitle><manvolnum>8</manvolnum></citerefentry></member> + <member><citerefentry><refentrytitle>loginctl</refentrytitle><manvolnum>1</manvolnum></citerefentry></member> + <member><citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry></member> + </simplelist></para> </refsect1> </refentry> |