[Debian-eeepc-devel] acpi-scripts: THE LID

Malte Dik malte.dik at web.de
Fri Apr 2 15:48:16 UTC 2010


Hi,

I don't know why I wasn't able to do it, but adding:

if [[ $(xrandr|grep '^VGA.*disconnected.*') == '' ]]; then
        exit 0
fi

in front of /etc/acpi/actions/lid.sh does the trick (of not going suspended, 
when there's an external monitor dangling on your VGA).


Have fun with it (and of course I would like to see it in main ;)),


Malte



More information about the Debian-eeepc-devel mailing list