1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-25 10:04:04 +03:00

doc: spell out handle-* options, use <literal> syntax (#5673)

This commit is contained in:
Michael Biebl 2017-03-31 08:01:41 +02:00 committed by Lennart Poettering
parent b0b46a2c12
commit 3daffa82c4

View File

@ -244,8 +244,9 @@
<para>A different application may disable logind's handling of system power and <para>A different application may disable logind's handling of system power and
sleep keys and the lid switch by taking a low-level inhibitor lock sleep keys and the lid switch by taking a low-level inhibitor lock
("handle-power-key", "handle-suspend-key", "handle-hibernate-key", (<literal>handle-power-key</literal>, <literal>handle-suspend-key</literal>,
"handle-lid-switch"). This is most commonly used by graphical desktop environments <literal>handle-hibernate-key</literal>, <literal>handle-lid-switch</literal>).
This is most commonly used by graphical desktop environments
to take over suspend and hibernation handling, and to use their own configuration to take over suspend and hibernation handling, and to use their own configuration
mechanisms. If a low-level inhibitor lock is taken, logind will not take any mechanisms. If a low-level inhibitor lock is taken, logind will not take any
action when that key or switch is triggered and the <varname>Handle*=</varname> action when that key or switch is triggered and the <varname>Handle*=</varname>
@ -261,8 +262,9 @@
<listitem><para>Controls whether actions that <command>systemd-logind</command> <listitem><para>Controls whether actions that <command>systemd-logind</command>
takes when the power and sleep keys and the lid switch are triggered are subject takes when the power and sleep keys and the lid switch are triggered are subject
to high-level inhibitor locks ("shutdown", "sleep", "idle"). Low level inhibitor to high-level inhibitor locks ("shutdown", "sleep", "idle"). Low level inhibitor
locks ("handle-*-key" and "handle-lid-switch"), are always honored, locks (<literal>handle-power-key</literal>, <literal>handle-suspend-key</literal>,
irrespective of this setting.</para> <literal>handle-hibernate-key</literal>, <literal>handle-lid-switch</literal>),
are always honored, irrespective of this setting.</para>
<para>These settings take boolean arguments. If <literal>no</literal>, the <para>These settings take boolean arguments. If <literal>no</literal>, the
inhibitor locks taken by applications are respected. If <literal>yes</literal>, inhibitor locks taken by applications are respected. If <literal>yes</literal>,