[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: netbook, close, suspend: ACPI?



On Wed, Sep 14, 2011 at 07:34:01AM +0300, Mihamina Rakotomandimby wrote:
> I just noticed that if I "close" (or fold) it, after a while it goes
> to suspend state (or hibernate I dont know exactly). I have to
> "open" it and press the power button in order to make it.

If you need to press power button in order to wake the computer, it's
hibernate. To wake up from sleep it's enough to press any key at
keyboard.

> How to avoid going to a sleepy state when closed? I want to close it
> for esthetic reasons.
> 
> I guess it's about disabling some ACPI, but what is the Debian way
> to do that?

If you don't have any DE installed, it should be enough to go to
/etc/acpi/events, find the file that describes reaction to closed lid
and then making appropriate script non-executable. Say, if in event file
you saw the line:

  action=/etc/acpi/lid.sh

then you need to do the following:

  $ sudo chmod -x /etc/acpi/lid.sh

Note, though, that it may became executable again once you update the
package (I not sure about that, though).

If you have some DE installed, check your settings - it should be there.

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81

Attachment: signature.asc
Description: Digital signature


Reply to: