Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got pretty much the same problem as this old 2006 thread on the Ubuntu forums: my old laptop's lid is a bit shaky, which causes the computer to wakeup/suspend if I just touch it the wrong way (e.g. lifting it up to move it).

Back then, the fix (see link) was to have a startup script disable LID in /proc/acpi/wakeup every time the computer boots. I'm wondering if there's a better, less hacky, solution?

share|improve this question
Did they get rid /proc/acpi/wakeup in Maverick? It still exists on my Lucid system, and I don't see why it shouldn't work. – Ryan Thompson Oct 26 '10 at 0:52
Nope it's still here, so the solution from 2006 still works. It's just a bit of a hassle to maintain. – Ludovic Dec 16 '10 at 6:50

Its no less hacky, but you can simplify the solution by adding echo "LID " > /proc/acpi/wakeup to the /etc/rc.local file. This way you don't have to create a startup script.

share|improve this answer

What about changing it to Blank screen when laptop lid is closed. This is way you will not get suspended.


share|improve this answer
Nope... this keeps the laptop running when I close the lid, but if I suspend it manually before that, it still wakes up when I open the lid. The idea is to prevent the laptop from waking up when the lid moves a bit, not preventing it from going to sleep. – Ludovic Oct 19 '10 at 4:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.