Hello, I have an Acer 5734Z (running Bodhi, technically, but based on Ubuntu.) And there is a problem where the backlight doesn't automatically turn on. In order to turn it on, I must hit the screen brightness keys on my laptop. I can also resume the backlight by typing into terminal:
Code:
xbacklight -set 0
(It is good to note that the backlight values are backwards on my computer, so 0 is brightest and 100 is the most dim.)

So, I have the following in /etc/pm/sleep.d:
Code:
#! /bin/bash
#This makes the backlight set to 0 when the computer resumes.
case $1 in
suspend)
#echo "Suspeding ..."
;;
resume)
COMMAND="xbacklight -set 0"
;;
hibernate)
#echo "Hibernating ..."
;;
thaw)
COMMAND="xbacklight -set 0"
;;
esac
exit 0
When I first added this script, it ran beautifully. However, since I have restarted my computer, it hasn't worked. (I turn my computer off every night.) It doesn't seem that the script is even running. Does anyone know why? Any help would be much appreciated. Thanks!