The Cookie Machine - Click here to drag window

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

Views: 1,384     Votes:  2     ✅ 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: November 24, 2022    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  ⇩