[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sleep: out of control



On Thu, Aug 31, 2023 at 08:12 Marco <mm@dorfdsl.de> wrote:
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

Thanksso much, Marco, I'll give that a try and report back in a couple of days.

-Tom

Reply to: