You are not logged in.
Pages: 1
Hey everyone. So, I love Arch, but I'm having some trouble. I want to use a window manager full time. I have everything setup just right, except for one thing: screen brightness. I want to be able to have my display dim itself whenever the AC adaptor is unplugged. I've looked at the acpid man page & arch wiki, and the solution isn't clear.
Offline
There are parts of this link I found that might help you: http://www.thinkwiki.org/wiki/Automatic … brightness
Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.
Offline
On my laptop there is a bios setting for this to allow automatic brightness reduction for all OSes. Check your own bios for this setting.
How's my programming? Call 1-800-DEV-NULL
Offline
I just use gnome-power-manager...
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Offline
laptop-mode-tools has the option to control screen brightness, with the file /etc/laptop-mode/conf.d/lcd-brightness.conf
Edit: alternatively, add something like these xbacklight lines to /etc/acpi/handler.sh:
ac_adapter)
case "$2" in
ACAD)
case "$4" in
00000000)
#echo -n $minspeed >$setspeed
xbacklight -set 80
;;
00000001)
#echo -n $maxspeed >$setspeed
xbacklight -set 100
;;
esac
;;
*) logger "ACPI action undefined: $2" ;;
esac
;;
Last edited by owain (2010-01-07 11:18:12)
Offline
Pages: 1