2

Power button and logind

 2 years ago
source link: https://blog.shadura.me/2015/04/16/power-button-and-logind/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Andrej’s notes

If you have configured your laptop's power button to act as sleep button using acpid, then installed systemd or systemd-shim and pressed the button only to find your laptop to shut down after it wakes up from sleep, set these options in /etc/systemd/logind.conf:

[Login]
HandlePowerKey=ignore
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK