alexinfurs
July 14th, 2006, 01:30 PM
Hi, I wrote a simple program that allows you to control the screen brightness by a keypress.
It's based on a desrt's macbook-backlight program, so you have to install it before. Go here http://desrt.mcmaster.ca/macbook.xhtml and follow the instruction to install a macbook-backlight packet.
Afetr installed it, make it executabile for all user by command :
sudo chmod u+s /usr/bin/macbook-backlight
now install my program
1) unpacking tar
2) make sure you have installed a libgtk2.0-dev and libvte-dev
packages
3) enter into a src directory
4) execute - sudo make install
Now you have a macbook-backlight-control program into /usr/bin/
I suggest to add it to startup-application in a system-preferences-sessions menu.
Now you can lower and raise the brightness by Ctrl-F1 and Ctrl-F2
If you found any bugs, please contact me.
alexinfurs@gmail.com
my blog http://alexinfurs.blogspot.com/
I have tested it only on my macbook.
It's based on a desrt's macbook-backlight program, so you have to install it before. Go here http://desrt.mcmaster.ca/macbook.xhtml and follow the instruction to install a macbook-backlight packet.
Afetr installed it, make it executabile for all user by command :
sudo chmod u+s /usr/bin/macbook-backlight
now install my program
1) unpacking tar
2) make sure you have installed a libgtk2.0-dev and libvte-dev
packages
3) enter into a src directory
4) execute - sudo make install
Now you have a macbook-backlight-control program into /usr/bin/
I suggest to add it to startup-application in a system-preferences-sessions menu.
Now you can lower and raise the brightness by Ctrl-F1 and Ctrl-F2
If you found any bugs, please contact me.
alexinfurs@gmail.com
my blog http://alexinfurs.blogspot.com/
I have tested it only on my macbook.