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. :)

This entry was posted in Techy and tagged , , , , . Bookmark the permalink or share the shortlink.

11 Responses to Ubuntu lock screen on laptop close lid

  1. Scott Kitterman says:

    Works just fine with Kubuntu.

  2. Callum says:

    @Scott Kitterman: I’m not sure what you mean. The change works fine with Kubuntu, or the screen locks automatically under Kubuntu?

  3. Jim says:

    Thanks. Very helpful.

  4. Krellan says:

    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.

  5. Nate says:

    Thanks, very helpful!

  6. Pingback: Ubuntu 8.10 sul Dell XPS M1530 « Il blog di Andrea Lazzarotto

  7. robert says:

    Thanks, worked well for me.
    Don’t know why they disabled this feature.

  8. Kschneidertz says:

    This work for me on Ubuntu 9.04, thanks.

  9. Royo says:

    Worked like a charm on 9.10.

  10. Adam Nissley says:

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

  11. another one says:

    worked like a charm in ubuntu 10.04… just had to run gconf-editor… thank you

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>