Difference between revisions of "Shutdown Pressing Power Button"
Jamie Kitson (talk | contribs) |
(where I found my solution at least) |
||
(24 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:Power management | + | [[Category:Power management]] |
− | + | [[es:Shutdown Pressing Power Button]] | |
− | {{ | + | [[it:Shutdown Pressing Power Button]] |
+ | [[ru:Shutdown Pressing Power Button]] | ||
+ | [[uk:Shutdown Pressing Power Button]] | ||
+ | [[zh-CN:Shutdown Pressing Power Button]] | ||
+ | {{stub|reason=should likely just be a redirect now}} | ||
+ | First of all, make sure that {{ic|button}} [[Kernel modules|module]] is loaded (check the output of {{ic|lsmod}}). If it is not, load it manually and set it to load at boot. | ||
− | + | {{ic|logind}} handles the event from pressing the power key, and the behaviour can be configured in {{ic|/etc/systemd/logind.conf}}. See https://wiki.archlinux.org/index.php/Systemd#ACPI_power_management for more information. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 20:14, 4 November 2012
zh-CN:Shutdown Pressing Power Button
First of all, make sure that button
module is loaded (check the output of lsmod
). If it is not, load it manually and set it to load at boot.
logind
handles the event from pressing the power key, and the behaviour can be configured in /etc/systemd/logind.conf
. See https://wiki.archlinux.org/index.php/Systemd#ACPI_power_management for more information.