Tell Ubuntu to Do Nothing When Laptop Lid Closes

If you like to connect up your laptop to a real keyboard/monitor/mouse, like I do, then you might also like to close the laptop’s lid and shove it to the side of your desk and just use it like a desktop system.  And if you run Ubuntu, like i do, you don’t get the option to do that automatically.  The power settings limit you to things like “shutdown”, “standby”, “hibernate”, and “blank screen.” 

Turns out there is a fifth option, but you have to run this (seemingly obscure) command line to get it:

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

Once you’ve run this, you should see the new option, shown below:


It is things like this that make my relationship with Linux both love and hate.  I absolutely love the ease of 90% of things in Linux and the freedom of it all, but this kinda small thing that requires a bunch of Googling really gets on my nerves and prevents me from recommending it to less computer savvy family members and friends.

Still, the new Ubuntu is pretty great and I can’t wait to get started on some RoR coding in it!


One Response to “Tell Ubuntu to Do Nothing When Laptop Lid Closes”

  1. link Says:

    ok how is this supposedto mean?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: