This question already has an answer here:

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?

marked as duplicate by pomsky, karel, WinEunuuchs2Unix, Byte Commander, Kevin Bowen Jun 15 '18 at 21:52

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Install gnome-tweaks

sudo apt-get install gnome-tweaks

and invoke it with


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.