How to disable locking on lid-close (laptop) : Ubuntu (6.06.1 / 6.10)

By | 2006/12/10

Recently a friend of mine was asking how to disable locking (prompting for a password) after resuming from closing the laptop lid. I checked out some of the immediate places first. Maybe it was in “Power Options” or “Screensaver”. No. Where else would it be?

Well after a little bit of digging & searching through the Ubuntu Forums I think I have found a solution. Below are steps to disable screen locking when you close your laptop lid.

  1. ALT-F2, “gconf-editor”
  2. /apps/gnome-power-manager/lock_use_screensaver
  3. disable “lock_on_blank_screen”, “lock_on_hibernate”, “lock_on_suspend” (any/all)

This seems to have solved the problem for me (after basic testing). I would like to hear if anyone else has alternate methods or if this doesn’t quite do the trick.

15 thoughts on “How to disable locking on lid-close (laptop) : Ubuntu (6.06.1 / 6.10)

  1. roger

    the way you write your articles like you really did it but you know you are copying from some where i don’t know why you are doing this telling lies to people

  2. Ubuntu Tutorials

    Read the article again “Well after a little bit of digging & searching through the Ubuntu Forums I think I have found a solution.”

    I’m simply posting a solution that I found. I never claimed that I invented these, I’m simply sharing my results with my readers.

  3. Bradyq

    Yeah, I think it’s a little ridiculous that Christer would use solutions that already exist to fix problems. The best solution would obviously be for him to create new programs within Ubuntu to do all of his “tricks” so that he’s not a liar. Oh wait, the ubuntu people made ways to change things so that you wouldn’t have to re-invent the wheel every time you wanted to do something. There is obviously nothing wrong with using a fix that already exists.

  4. TuxGirl

    Wow… you have an article on how to make it *not* lock? And this after I’ve spent so long learning how to make it do things when the lid is closed… Go figure…
    and as to the guy who’s complaining, don’t worry too much about it. I think it’s cool that you actually have the time to post regularly and interestingly! 🙂

  5. Ubuntu Tutorials

    TuxGirl – the reason for this post was redbeard asking how to turn off the locking! I get many of my ideas from the channel. Thanks for hanging out in there 🙂

  6. Aaron Toponce

    Roger-

    Maybe I’m missing something here, but what’s the point of blogs and community if you can’t share public information? It’s not like anyone has a copyright on any of it.

    Besides, what are you doing to help the Ubuntu community?

  7. ChrisK

    i would like to say:

    thanks for posting this. it works.

    sorry to hear that your efforts are rewarded by some goofball calling you a liar because they can’t read. it would have been quicker for them to read rather than to write an idiotic response.

  8. foo

    Damn… this doesn’t work for me – it still annoyingly logs me out whenever I close the lid – I wouldn’t mind if it just locked the screen leaving programs running, but it actually logs me out!

  9. TaJMoX

    Thanks a lot!
    Helped me out bunches!
    And yes I think this should be in the power management gui.

  10. Jakob

    Seems to work just fine for Feisty too, if anyone is wondering…

  11. Augustus

    Yeah, it works fine for Feisty. I also used this for Edgy, and it worked great there too.

    Thanks for posting the solution. This was the first solution that I hit when I was googling….and since I forgot how to do it when I installed Feisty, I regoogled and found it again =)

    Thanks.

  12. Andy

    Thanks, that was getting seriously annoying. 1 step closer to deleting the xp partition.

  13. Felipe Alvarez

    I wanted the opposite. I want it to lock after blanking screen. This did it for me (mint 5 == ubuntu 8.04 == debian unstable)

  14. Tyler Oderkirk

    The following command worked with Hardy for me and my Thinkpad T30:

    —snip
    gconftool-2 –set /apps/gnome-power-manager/lock/blank_screen –type bool true
    —snip

Comments are closed.