hthakar
June 29th, 2009, 01:13 PM
Hello,
I am developing a GUI in Ubuntu 9.04 using QT (C++). I need to control the screen brightness using a slide bar.
I don't have any idea how to do this. Googling gave me this blog
http://mankikannan.blogspot.com/2008/01/more-linux-fun-screen-brightness.html
This states that there should be a file in /sys/class/backlight/acpi_video0/brightness but after looking i just found an empty folder /sys/class/backlight.
I will appreciate any help.
Thank you,
Harsh.
I am developing a GUI in Ubuntu 9.04 using QT (C++). I need to control the screen brightness using a slide bar.
I don't have any idea how to do this. Googling gave me this blog
http://mankikannan.blogspot.com/2008/01/more-linux-fun-screen-brightness.html
This states that there should be a file in /sys/class/backlight/acpi_video0/brightness but after looking i just found an empty folder /sys/class/backlight.
I will appreciate any help.
Thank you,
Harsh.