How to change laptop lid close behaviour in Elementary OS

September 17, 2015

Unlike Ubuntu, elementary OS does not seems to have setting to change the laptop lid close behaviour. By defaults system is getting suspended.

However you can use DConf-Tools to change it.

You can install the program by executing the following command in the terminal

sudo apt-get install dconf-tools

Then open **Dconf Editor **and navigate to the following option.

org -> gnome -> settings daemon -> plugins -> power

There you will need to edit lid-close-ac-action and lid-close-battery-action

dconf editor laptop close lid

👋 I'm Ashik Nesin • Principal Software Engineer @Chargebee 👨‍💻• I write about web development & behinds the scenes of startup/side projects that I'm building

© 2022 Nesin Technologies LLP