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,605     Votes:  3     ✅ Solution
Tags: suspend   laptop   lid  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗

URL: https://askubuntu.com/q/1077388
Title: Laptop automatically suspending after lid closed and reopened
ID: /2018/09/22/Laptop-automatically-suspending-after-lid-closed-and-reopened
Created: September 22, 2018    Edited:  June 12, 2020
Upload: April 8, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


First thing to try

Use sudo -H gedit /etc/systemd/logind.conf and search for this line:

#HandlLidSwitch=

change it to:

HandleLidSwitch=ignore

Then save the file and reboot.

⇧ How can I disable automatic screen dimming when the wireless mouse has low battery? Plymouth taking a lot of time during boot  ⇩