Difference between revisions of "Shutdown Pressing Power Button"

From ArchWiki
Jump to: navigation, search
(removing old content)
(stub)
Line 5: Line 5:
 
[[uk:Shutdown Pressing Power Button]]
 
[[uk:Shutdown Pressing Power Button]]
 
[[zh-CN:Shutdown Pressing Power Button]]
 
[[zh-CN:Shutdown Pressing Power Button]]
 
+
{{stub}}
 
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.
 
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}}.
 
{{ic|logind}} handles the event from pressing the power key, and the behaviour can be configured in {{ic|/etc/systemd/logind.conf}}.

Revision as of 06:33, 26 October 2012

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk: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.