how to prevent ubuntu sleeping when closing laptop
sudo systemctl restart systemd-logind
0
0
#HandleLidSwitch=suspend
Thank you!
0
0
3.67
6
sudo nano /etc/systemd/logind.conf
Thank you!
6
0
3.25
4
HandleLidSwitch=ignore
Thank you!
4
0
Are there any code examples left?
New code examples in category Shell/Bash