How do I stop my laptop from suspending when closing the lid under lightdm - the power management settings in xfce or gnome 3 does not seem to apply when the window manager is not running.
and replace the
Note: I just tested it, and restoring the values back to
Also, lightdm will still try to sleep, but will be denied. So every time you open the lid, you will get a message box telling the sleep/suspend failed.
this will also prohibit active suspend/sleep
...yet another annoyance that gnome3 brings us