klaxalk/linux-setup

Power button

petrlmat opened this issue · 1 comments

Pushing the power button, which for asus zenbooks is right next to the delete button so it can easily get pressed accidentally, instantly shuts down the computer without any warning.
Nice solution would be to offer shudown/restart/suspend menu instead and shutdown only after long press.

Found solution by changing the behavior of power button in /etc/systemd/logind.conf by setting HandlePowerKey=ignore
then remapping in i3 config is possible.