Ubuntu 18.04: *Completely* disable laptop sleep when closed.

Colin Law clanlaw at gmail.com
Sun May 30 19:05:51 UTC 2021


On Sun, 30 May 2021 at 15:09, Robert Heller <heller at deepsoft.com> wrote:
>
> I need to be able to access my laptop, when I am logged out (console login)
> with the lid closed.  What is the "magic" to do that?  I managed to disable
> that function when logged in and running the GUI, but I need to also be able
> to do it when logged out.  I *don't* use the GUI login.  The machine come up
> to multi-user boot with a (black) console login -- I start the GUI from my
> login with startx.

In /etc/UPower/UPower.conf set
IgnoreLid=true

That worked for me. You might need to reboot, I don't know.

Colin




More information about the ubuntu-users mailing list