Keep your laptop up even when you close the lid on Linux
TLDR: You just have to edit the file /etc/systemd/logind.conf.
$ sudo vi /etc/systemd/logind.conf # and the change the parameter to ignore
[Login]
HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore # This option specifically is the default on Debia...
blog.davidassigbi.com1 min read