Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

posts/2022/laptop-lid-ignore/ #69

Open
utterances-bot opened this issue Oct 20, 2023 · 1 comment
Open

posts/2022/laptop-lid-ignore/ #69

utterances-bot opened this issue Oct 20, 2023 · 1 comment

Comments

@utterances-bot
Copy link

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/

Copy link
Owner

mhrk04 commented Oct 20, 2023

Good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants