How to keep laptop running when lid is closed (20.04.3 LTS)

Bo Berglund bo.berglund at gmail.com
Fri Oct 8 06:59:09 UTC 2021


On Thu,  7 Oct 2021 19:20:43 -0400 (EDT), Robert Heller <heller at deepsoft.com>
wrote:
>At Thu, 07 Oct 2021 23:41:58 +0200 bo.berglund at gmail.com, "Ubuntu user technical support,? not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:

>> It needs to both start up and stay running with the lid closed and with WiFi
>> also active because that is the route of my SSH communications..
>> 
>> Is it possible to modify any settings somewhere to make this happen?
>> Preferably through the command line (SSH).
>> 
>Yes:
>
>In /etc/UPower/UPower.conf set
>IgnoreLid=true
>

So I looked at this setting *after* using the suggestion by Liam.
I found that it is there but I do not understand which takes precedence, right
now it is set at the default and the laptop does not suspend with the lid closed
after I did what Liam proposed (even though it was hidden elsewhere on Mate).

My big problem now is that the laptop does not switch on WiFi until I have
physically logged on via the GUI screen on the laptop itself. So I cannot keep
the laptop stashed on the shelf and use it via the network...


-- 
Bo Berglund
Developer in Sweden





More information about the ubuntu-users mailing list