pyratelog

personal blog
git clone git://git.pyratebeard.net/pyratelog.git
Log | Files | Refs | README

commit ef42a4d9b3a8e3e93d631171732d1c31eff4b0c0
parent 0622fa8924855eb7c92447eb6e341c5423b5ca8a
Author: pyratebeard <root@pyratebeard.net>
Date:   Sun,  3 Nov 2024 22:46:28 +0000

cut_the_power

Diffstat:
Mentry/cut_the_power.md | 10+++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/entry/cut_the_power.md b/entry/cut_the_power.md @@ -1,7 +1,15 @@ -If you have young children you will be familiar with how their little hands always like to press buttons. +If you have young children you will be familiar with how their little fingers always like to press buttons. Especially the power button on your laptop. When you're in the middle of something. Well no more! It is possible to disable to power off function of a power button (this was tested on a Thinkpad running Linux with systemd). + +Edit the file _/etc/systemd/logind.conf_ +``` +``` + +Uncomment and modify the value of `#HandlePowerKey=off` to `ignore`, then reboot. + +1: https://askubuntu.com/a/362931