My laptop is broken and the lid does not lock. So I want it not to wake up when the lid is open. I use ubuntu, but gnome-power-preferences does not have any option like that (only to close the lid).
Is there any way to do this? I'm afraid next time it opens on the case it will get burned.
Best Answer
I found a way after googleing a bit smarter (it was difficult to find the correct search keys).
In short, the file
/proc/acpi/wakeup
has a line forLID
which is enabled.If you
echo " LID" > /proc/acpi/wakeup
it will change to disable and the computer won't wake up on lid open.Follow the instructions on the already mentioned link to set it permanent on your computer.