How to Set Ubuntu to Only Turn Off Screen When Laptop Lid is Closed
Learn how to configure Ubuntu to only turn off the screen when you close your laptop lid, rather than putting your system to sleep or shutting it down. In this step-by-step tutorial, we’ll guide you through the settings adjustments needed to customize your laptop’s behavior. This is especially useful for users who want to keep their laptop running while the lid is closed, for tasks like downloading files or running servers. Follow along and optimize your Ubuntu experience!
Steps covered in the video:
sudo nano /etc/systemd/logind.conf
change #HandleLidSwitch=suspend to HandleLidSwitch=lock
sudo systemctl restart systemd-logind.service
ubuntu