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

How to disable locking on lid-close (laptop) : Ubuntu (6.06.1 / 6.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.

Categories: News Tags:
  1. roger
    December 11th, 2006 at 01:54 | #1

    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. December 11th, 2006 at 09:19 | #2

    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. December 13th, 2006 at 07:57 | #3

    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. December 14th, 2006 at 22:15 | #4

    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. December 14th, 2006 at 22:24 | #5

    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. December 20th, 2006 at 08:58 | #6

    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. January 7th, 2007 at 07:25 | #7

    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
    February 14th, 2007 at 00:00 | #8

    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. anonymouse
    March 8th, 2007 at 15:12 | #9

    Thanks. A big help!

  10. TaJMoX
    April 10th, 2007 at 18:36 | #10

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

  11. April 25th, 2007 at 15:54 | #11

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

  12. Augustus
    April 27th, 2007 at 09:34 | #12

    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.

  13. Andy
    May 14th, 2007 at 14:59 | #13

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

  14. June 20th, 2008 at 23:02 | #14

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

  15. August 2nd, 2008 at 15:37 | #15

    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

  1. No trackbacks yet.