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

Re: Sleep: out of control



On 2023-08-31, Tom Browder wrote:

> Is there a way to definitely deactivate all OS-related power changes so the
> power button has only two functions (on/off)?

To disable all sleep/suspend/hibernation I put in /etc/systemd/sleep.conf

[Sleep]
AllowSuspend=no
AllowHibernation=no
AllowSuspendThenHibernate=no
AllowHybridSleep=no


Reply to: