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!