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: 4,816     Votes:  5 
Tags: suspend   power-management   laptop  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗

URL: https://askubuntu.com/q/1506656
Title: How to change lid close behavior to do nothing?
ID: /2024/03/06/How-to-change-lid-close-behavior-to-do-nothing_
Created: March 6, 2024
Upload: January 1, 2025    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


Use this command:

gsettings get org.gnome.settings-daemon.plugins.power lid-close-ac-action

If the printed reply is not nothing then use this command:

gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action 'nothing'

Then repeat the first command and the response should be nothing.

There is no need to reboot and the result should be persistent across reboots.

⇧ Data Explorer Query crashes with collation conflict error tput does not try /dev/tty (?)  ⇩