Pal's Web Log
Programming - Linux, Ubuntu, Python, Django, Postgres, HTML, Cloud, Data Science etc.
Labels
Django
Docker
Google Cloud
Linux
Postgres
Python
Sunday, June 28, 2015
Avoid shutdown or sleep when lid is close on Ubuntu Laptop
To avoid the Ubuntu laptop from shutting down when lid is closed, open the file
'/etc/systemd/logind.conf'
and add the following line at the bottom.
HandleLidSwitch=ignore
Then restart the following service:
sudo restart systemd-logind
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)