9

Power Change options in dconf-editor

I want my laptop to do nothing when I close the laptop lid. I found these options in dconf-editor for the laptop to do 'nothing'. However, the laptop still goes to suspended mode after I close the lid.

What did go wrong?

linkingashu
  • 91
  • 1
  • 1
  • 3

1 Answers1

22

Install gnome-tweaks

sudo apt-get install gnome-tweaks

and invoke it with

gnome-tweaks

Under the menu Power you can disable Suspend when laptop lid is closed.

pomsky
  • 67,112
  • 21
  • 233
  • 243
abu_bua
  • 10,473
  • 10
  • 45
  • 62
  • This did not work for me. But this did work: https://tipsonubuntu.com/2018/04/28/change-lid-close-action-ubuntu-18-04-lts/#prettyPhoto – Erel Segal-Halevi May 19 '20 at 17:38
  • It works, and the command to install gnome-tweaks is also right. But the application command to invoke it is not gnome-tweaks, it should be "Tweaks". My Ubuntu version is 18.04. – Clock ZHONG Feb 18 '21 at 15:29