Ubuntu lock screen on laptop close lid

In Fedora 8 when I closed my laptop lid, my screen would lock. Under Ubuntu 8.04 this doesn’t happen. After a bit of digging, I found a solution. The gconf setting is “/apps/gnome-power-manager/lock/blank_screen”. When set to true, closing the lid will lock the screen. Luvvvly. 🙂

13 thoughts on “Ubuntu lock screen on laptop close lid”

  1. Excellent. Thanks for finding this setting.

    I am running Fedora 9, and had the opposite problem: it defaults to locking the screen whenever it blanks the screen (such as when the laptop lid is closed). I do NOT want it to lock the screen then. Just blank it, then restore the screen when the laptop lid is opened again.

    Clearing the checkbox hasn’t worked yet, but it’s a good start.

  2. Thanks. I found this very helpful. I also found some other problem settings that were bothering me much less!

  3. Works in 12.04, though adding it took some trickery (i.e. there was no “lock”, so I had to add “lock/blank_screen”, and it didn’t show until I closed Configuration Editor and opened it again. I miss editing conf files manually sometimes.

Leave a Reply

Your email address will not be published. Required fields are marked *