Am 31.08.2023 schrieb Tom Browder <tom.browder@gmail.com>: > Is there a way to definitely deactivate all OS-related power changes > so the power button has only two functions (on/off)? You can disable sleep/hibernate at all. sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target