The Cookie Machine - Click here to drag window

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

Views: 1,032β€…    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: November 24, 2022    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.

⇧ It's 2018. Does Linux in general (any distro) have a good file copying utility How do I prevent 'cd' command from going to home directory?  β‡©