Systemd/logind/ru: Difference between revisions
Created page with "Systemd/logind" |
Created page with "=== Не выключать компьютер при нажатие клавиши питания ===" Tags: Mobile edit Mobile web edit |
||
Line 12: | Line 12: | ||
<code>logind</code> handles power and standby hardware switches. The Arch wiki has a [https://wiki.archlinux.org/index.php/Power_management#ACPI_events good overview of which ACPI events are handled]. | <code>logind</code> handles power and standby hardware switches. The Arch wiki has a [https://wiki.archlinux.org/index.php/Power_management#ACPI_events good overview of which ACPI events are handled]. | ||
</div> | </div> | ||
< | <span id="Don’t_shutdown_on_power_button_press"></span> | ||
=== | === Не выключать компьютер при нажатие клавиши питания === | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
When you use a laptop, often you don’t want an accidental short press of the power button to shut down your system. You can add the following snippet to your <code>logind</code> config: | When you use a laptop, often you don’t want an accidental short press of the power button to shut down your system. You can add the following snippet to your <code>logind</code> config: |