Oddball behavior on laptop with Xubuntu 22.04.1

MR ZenWiz mrzenwiz at gmail.com
Wed Oct 12 05:30:20 UTC 2022


On Tue, Oct 11, 2022 at 9:48 PM MR ZenWiz <mrzenwiz at gmail.com> wrote:
>
:

Possible answer here:

https://serverfault.com/questions/1045949/how-to-disable-suspend-on-ubuntu-20-04-systemd-via-cli

This seems to point to my settings for what happens when the lid is
closed. I started doing that recently when I don't need to use the
laptop, and it appears to have bad consequences.

In summary:

In /etc/systemd/logind.conf add the following lines at the bottom:

HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore

and run

systemctl restart systemd-logind

to activate the new settings.

That stopped the log overload instantly. I'll double check tomorrow,
but I'm much happier now that the weirdness appears to be over.

Regards,

Mark




More information about the ubuntu-users mailing list