stop suspend on NON-X system

Karl Auer kauer at biplane.com.au
Sun Oct 12 13:21:12 UTC 2014


On Sun, 2014-10-12 at 10:21 +0100, Colin Law wrote:
> On 12 October 2014 09:03, Karl Auer <kauer at biplane.com.au> wrote:
> > What I want to do is prevent this machine from suspending or hibernating
> > when I close the lid. 
> 
> This might do it
> sudo apt-get install acpi-support
> edit /etc/default/acpi-support and set SUSPEND_METHODS="none"
> sudo /etc/init.d/acpid restart

That looks plausible - I thought ACPI was dead? I won't knock it if it
does the job though.

The polkit stuff that I tried, as I found out when I went to *manually*
suspend the netbook, DOES work in that it successfully prevents a
timeout suspend and a manual suspend :-) But it doesn't stop the netbook
suspending when the lid is closed.

Regards, K.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: EC67 61E2 C2F6 EB55 884B E129 072B 0AF0 72AA 9882
Old fingerprint: B862 FB15 FE96 4961 BC62 1A40 6239 1208 9865 5F9A






More information about the ubuntu-users mailing list