Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
How can I tell Ubuntu to do nothing when I close my laptop lid?

I'm running my laptop essentially as a desktop, I have two external monitors hooked up, a bluetooth keyboard, and a wireless USB mouse. It's plugged into my speaker system as well. What I'd really like to do is to be able to shut the laptop lid without it automatically disabling video output to my monitors. Is there a way I can make this happen by tweaking some configuration value?

share|improve this question

marked as duplicate by Marco Ceppi Jun 27 '11 at 12:05

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.

1  
    
Thank you, I've added myself as being affected. –  Naftuli Tzvi Kay May 25 '11 at 16:42
add comment

2 Answers 2

up vote 4 down vote accepted

All that needs to be done is to edit the following key and set it to "nothing":

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

Then, magically, nothing will happen :)

share|improve this answer
3  
This doesn't work in 12.04. –  Erigami May 24 '12 at 14:36
add comment

The top answer to this question does a good job of explaining how to do this for both AC and battery modes, along with instructions on how to change it back to blanking the screen: How can I tell Ubuntu to do nothing when I close my laptop lid?

share|improve this answer
add comment

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