Open LukeShortCloud opened 4 months ago
Configure systemd-login to change the behavior of the power related buttons. All of the buttons that can be managed:
HandlePowerKey=, HandlePowerKeyLongPress=, HandleRebootKey=, HandleRebootKeyLongPress=, HandleSuspendKey=, HandleSuspendKeyLongPress=, HandleHibernateKey=, HandleHibernateKeyLongPress=, HandleLidSwitch=, HandleLidSwitchExternalPower=, HandleLidSwitchDocked=
A "LongPress" is holding down the button for 5 seconds.
All of the allowed options: Can be one of "ignore", "poweroff", "reboot", "halt", "kexec", "suspend", "hibernate", "hybrid-sleep", "suspend-then-hibernate", "lock", and "factory-reset"
Can be one of "ignore", "poweroff", "reboot", "halt", "kexec", "suspend", "hibernate", "hybrid-sleep", "suspend-then-hibernate", "lock", and "factory-reset"
https://www.freedesktop.org/software/systemd/man/latest/logind.conf.html
Configure systemd-login to change the behavior of the power related buttons. All of the buttons that can be managed:
A "LongPress" is holding down the button for 5 seconds.
All of the allowed options:
Can be one of "ignore", "poweroff", "reboot", "halt", "kexec", "suspend", "hibernate", "hybrid-sleep", "suspend-then-hibernate", "lock", and "factory-reset"
https://www.freedesktop.org/software/systemd/man/latest/logind.conf.html