How to prevent standby on laptop lid close? (for console mode)

Hi,

In XFCE I can configure the laptop lid close not to do anything.

But how do I do that for console mode (init 3)?

Check the systemd config in /etc/systemd/logind.conf

In particular

HandleLidSwitch=ignore
LidSwitchIgnoreInhibited=off

Reference

man logind.conf

Hope that helps.

It does. I just found that info myself. Thanks!

Very good. :slight_smile:

Yes!!!

That’s the most satisfying way to do it!

Good on you.:wink: