Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I close the lid of my Asus X77JQ, lucid shuts it down automatically after five minutes. I want to be able to sleep in the same room as my laptop, so I would like to be able to close the lid without it shutting down. How can I do this?

The power options lid close option is set to do nothing.

share|improve this question

Actions to take when closing the laptop lid are configured with command gnome-power-preferences (menu: System -> Preferences -> Power management)

You will need to set two options: "When laptop lid is closed" to "Do nothing", and also "Put computer to sleep when inactive for" to "Never" (otherwise the laptop won't sleep automatically when you close the lid, but will soon afterwards because it's inactive). Note that these options have separate values for "AC power" and "Battery power": of course, you'll have to configure the correct one for your case (or both).

*Note: You may have to run the following command for the option to show up: gconftool-2 --type string --set /apps/gnome-power-manager/buttons/lid_ac "nothing"

share|improve this answer

You'll need to run this in terminal;

gconftool-2 --type string --set /apps/gnome-power-manager/buttons/lid_ac "nothing"

It's some sort of regression; if the option does show up on it's own it does nothing.

share|improve this answer
This was true for me on 10.10 as well. Thanks! – xamox Apr 26 '11 at 16:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.