his works =====
Pressing the power button runs a script called /etc/acpi/powerbtn.sh//
This script then calls the shutdown_dialog file. Initially this file is t... oying dialog box, but we have changed it to run a script called /sbin/fastshutdown.sh//
This script kills the processes and shuts down the EEE.
===== Alternative
lid on your EEE it runs /etc/acpi/lidbtn.sh
The script to shut down the EEE safely and quickly is called... ds on lid close and add a new line that runs this script, your eeepc will shutdown when the lid is closed.