Screen brightness command. (rc.local)
#1
Question 
This command changes the brightness of my screen:

Code:
[color=Red]sudo echo -n 100 > /proc/acpi/video/GFX0/DD04/brightness[/color]
100 is the maximum brightness and the command works perfectly.
When I boot into my XBMC standalone session the brightness is at 60% and |I cannot change it with XBMC. Is there a way to automatically run the command on XBMC start. I tried putting it in 'rc.local' so it changes the brightness before any session starts. It works perfectly and the screen brightness increases, but just as the logon screen background appears it dims back down. Sad I am using a netbook and I think it has something to do with that. I experimented a bit and when I am at the grub boot screen, if I plug in to mains the screen goes to 100% brightness, and as soon as I unplug it goes back to 60%(ish). Is there anyway to disable this automated thing? Is there a way to make it run the command when every session is loaded, meaning XBMC. Or to run it once the logon box has appeared?
Thanks for any help,
Craig
P.S Ubuntu 10.04
Reply
#2
Smile 
IGNORE, solved it :p
Reply

Logout Mark Read Team Forum Stats Members Help
Screen brightness command. (rc.local)0