I've set up a friends laptop with Ubuntu 12.04LTS with the Cinnamon desktop, and I'm having a few issues with the power settings.
As far as I can tell I've got every setting to "Do Nothing" when the lid is closed, however it still Suspends when I close the lid.
After much Googling I'm still no closer to a solution, so I came here for help.
Best Answer
You need to configure
logind.conf
- this should not disable suspend, it should just to tell it to ignore the lid switch.This will also override any of your user's power settings, and will work whether you are logged in or not (system-wide). You can configure it via running:
You should like something like this:
Change
HandleLidSwitch=
line to this (with no#
at the beginning - a#
at the beginning of the line means it is a comment and will be ignored and the defaults will be used):Here is a quote from a manual page - note it can take other values like
lock
,poweroff
etc.The manual page for logind is here