How to stop laptop from going to sleep when lid closed (18.04 LTS Mate)

Colin Law clanlaw at gmail.com
Sun Apr 19 13:29:40 UTC 2020


On Sun, 19 Apr 2020 at 12:51, Bo Berglund <bo.berglund at gmail.com> wrote:
> ...
> So most items are commented out except thes:
> HandlePowerKey=suspend
> HandleSuspendKey=suspend
> HandleLidSwitch=suspend
> HandleLidSwitchDocked=suspend
>
> Should I modify all of these to ignore?
>

Could do.  I don't think it is very likely to stop you getting in to
put it back.  Possibly make a copy of the original just in case so if
the worst happens you can boot off a live image and easily restore the
file.  I don't think that is likely though.

Colin




More information about the ubuntu-users mailing list