You are not logged in.
Pages: 1
Hi I'm running a Chromebook with a modified boot loader. The power button is very close to the backspace key and often hit when typing fast is there anyway I can put time limit on how long a have to press it.
Offline
How long you have to press it to do what? If it is triggering a normal shutdown through systemd, then you can even have it configured to do nothing at all and then you can likely have another process listen for a press of a certain duration. But if you are pressing it enough for the hardware/firmware to trigger a immediate power-off, then no, it can't really be changed.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
How long you have to press it to do what? If it is triggering a normal shutdown through systemd, then you can even have it configured to do nothing at all and then you can likely have another process listen for a press of a certain duration. But if you are pressing it enough for the hardware/firmware to trigger a immediate power-off, then no, it can't really be changed.
It's a software shtudown
Offline
man logind.conf
Offline
Pages: 1