I managed to figure out a workaround, though I imagine there's a better solution out there. I looked at what was happening when my lid was closed and opened in /etc/acpi/lid.sh and found that xscreensaver was being called upon automatically. I tried to make it simply obey its config file and not lock, but couldn't figure it out, so I ended up simply deleting the lines that involved xscreensaver. Now everything works great: no locking, and if the lid is closed passed the amount of time which you have set for xscreensaver to start, it'll start normally (and not lock).
I'm still not sure why xscreensaver is set up to be called automatically when the lid is closed or why it ignores it's settings and locks when the lid is opened. I also don't get why on one laptop (Thinkpad T60) the problem always occurs, whereas on another (Vaio SZ-450) it happens in spurts (sometimes it locks every time, sometimes not at all), despite them having the same lid.sh file and both using Ubuntu 12.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/994754 Title: Xscreensaver locks when it should not To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xscreensaver/+bug/994754/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs