Lid Close = Sleep
I've just purchased an Aspire One (Acer) because I needed an inexpensive Linux-based laptop.
OS: Linpus Lite - based on Fedora
(Intel Atom 1.6GHz, 8GB SSD)
The laptop goes into sleep mode when I close the lid. I talked to Acer tech support and they said that this is software controlled, that there is no easy LL GUI resolution - in other words, no selection box to change the default as is available with XP.
I only have basic Linux/Unix command-line experience. Please let me know what adjustments need to be made in order for there to be NO action when the lid is closed. (I'd prefer it if an "action" was brought up via an "event", possibly in the power.conf file.) The following, I believe, provides the appropriate information ("action" and "event" folders are in "/etc/acpi/"):
[root@localhost actions]# ls -a
. .. sleep.lid.sh sleep.sh
[root@localhost actions]# cat sleep.lid.sh
#lid_status=`lshal |grep "button.state.value" | grep true`
lid_action="X`cat /home/user/.kde/share/config/kpowersaverc |grep ActionOnLidClose |cut -d"=" -f2`"
case $lid_action in
/sbin/shutdown -h now
#echo standby>> /home/user/a
#echo $lid_status>> /home/user/a
# if [ "X$lid_status" != "X" ]; then
/bin/dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0