You are not logged in.
Pages: 1
Installed arch (well, manjaro techically) today... and after installing all updates and tweaking some non-power-management things (to make gnome look like gnome, and to make gnome settings work again), I've found that my Dell Latutude D630 won't suspend when I close the lid.
I tried editing my ACPID handler.sh to no avail... perhaps I got the syntax wrong as I don't know SH code specifically. The commands I added worked when typed directly to terminal. Here is what is currently in there:
#!/bin/bash
# Default acpi script that takes an entry for all actions
case "$1" in
button/power)
case "$2" in
PBTN|PWRF)
logger 'PowerButton pressed'
;;
*)
logger "ACPI action undefined: $2"
;;
esac
;;
button/sleep)
case "$2" in
SLPB|SBTN)
logger 'SleepButton pressed'
;;
*)
logger "ACPI action undefined: $2"
;;
esac
;;
ac_adapter)
case "$2" in
AC|ACAD|ADP0)
case "$4" in
00000000)
logger 'AC unpluged'
;;
00000001)
logger 'AC pluged'
;;
esac
;;
*)
logger "ACPI action undefined: $2"
;;
esac
;;
battery)
case "$2" in
BAT0)
case "$4" in
00000000)
logger 'Battery online'
;;
00000001)
logger 'Battery offline'
;;
esac
;;
CPU0)
;;
*) logger "ACPI action undefined: $2" ;;
esac
;;
button/lid)
case "$3" in
close)
logger 'LID closed' && gnome-screensaver-command -l && pm-suspend
;;
open)
logger 'LID opened'
;;
*)
logger "ACPI action undefined: $3"
;;
esac
;;
*)
logger "ACPI group/action undefined: $1 / $2"
;;
esac
# vim:set ts=4 sw=4 ft=sh et:
Any suggestions to fix this?
Last edited by ratdude747 (2013-07-05 06:08:04)
Offline
Never mind, I see manjaro has their own forum and set of repositories (I assumed it was just an auto installer on top of arch, my bad).
Sorry for posting on the wrong forum...
Last edited by ratdude747 (2013-07-05 06:07:52)
Offline
Pages: 1