The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 1,093β€…    Votes:  3β€…
Tags: suspend   laptop   hibernate   lid  
Link: πŸ” See Original Answer on Ask Ubuntu ⧉ πŸ”—

Title: How to put the laptop to sleep/hibernatation by closing the LCD lid?
ID: /2018/10/22/How-to-put-the-laptop-to-sleep_hibernatation-by-closing-the-LCD-lid_
Created: October 22, 2018
Upload: September 20, 2023    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false

When an HDMI monitor is plugged in, the system considers it β€œdocked” as if it were plugged into a docking station. As such you need to use:

sudo -H gedit /etc/systemd/logind.conf

Change the line:


to read:


Then save the file and reboot.

Note: This is the most common solution and if it doesn’t work we can explore other options.

⇧ How can I see my password on the terminal? How do I prevent 'cd' command from going to home directory?  β‡©