You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use Your Laptop As A Server Tested on : Ubuntu 20.04 LTS
To disable entering the sleep mode I had to edit the /etc/systemd/logind.conf file and modify the line:
Just uncomment the line by removing #
from this :
#HandleLidSwitch=suspend #LidSwitchIgnoreInhibited=no #HandleLidSwitchDocked=ignore to this :
HandleLidSwitch=ignore LidSwitchIgnoreInhibited=no HandleLidSwitchDocked=ignore Then restart the OS via:
sudo service systemd-logind restart Then you can close the laptop lid .
Ubuntu Server - Laptop Lid Ignore | Mhaziqrk Blog
Use Your Laptop As A Server Tested on : Ubuntu 20.04 LTS
To disable entering the sleep mode I had to edit the /etc/systemd/logind.conf file and modify the line:
Just uncomment the line by removing #
from this :
#HandleLidSwitch=suspend #LidSwitchIgnoreInhibited=no #HandleLidSwitchDocked=ignore to this :
HandleLidSwitch=ignore LidSwitchIgnoreInhibited=no HandleLidSwitchDocked=ignore Then restart the OS via:
sudo service systemd-logind restart Then you can close the laptop lid .
https://www.mhaziqrk.uk/posts/2022/laptop-lid-ignore/
The text was updated successfully, but these errors were encountered: