Home » Questions » Computers [ Ask a new question ]

How can I make Ubuntu not lock my screen when I close my laptop?

How can I make Ubuntu not lock my screen when I close my laptop?

I am running Ubuntu 9.04. When my laptop is plugged into power and I close the lid, it only turns off the screen, so when I open it up again, it comes back right away, and I can give use my media keys on the outside while it is closed.

Asked by: Guest | Views: 309
Total answers/comments: 2
bert [Entry]

"Ok, so I did some digging, and I found how to configure this behavior.

In gconf-editor the key /apps/gnome-power-mananager/lock/blank_screen controls whether to lock the screen when it is blanked or not. In my case it was checked, so I unchecked. Now it works exactly how I like.

I still wish that they exposed this in the power settings, but oh well.

Also, the key /apps/gnome-power-manager/buttons/lid_ac and /apps/gnome-power-manager/buttons/lid_battery controls what to do when the lid is closed using ac or battery respectively. The options are ""suspend"", ""hibernate"", ""blank"" and ""nothing"". Using ""nothing"" will keep your external monitor alive when the lid is closed."
bert [Entry]

In Ubuntu 11.04 and above you can go to System Settings->Screensaver and uncheck "Lock screen when screen saver is active".