>>>> "RH" == Reindl Harald
<h.reindl(a)thelounge.net> writes:
RH> at least that is nonsense - every machine built within the last 15
RH> years reacts to a short press of the power button which signals the
RH> kernel to do a shutdown which can't be changed from any user space
RH> application
Off topic, I know, but that's incorrect. In fact, for all of my user
desktops, I configure the power button to simply log out all local
sessions. (I also disconnect the reset buttons.) If you tell systemd
not to handle the power button it passes control to acpid, and you can
tell acpid to run any executable you like.
Of course the long-press of the power button is done in hardware and
can't be controlled by the OS.
- J<