Skip to main content

Thread: Brightness control using command


hi all,
using ubuntu 11.04 on netbook.
every time boot netbook , have reduce it's brightness pressing fn+f6. it's annoying , thing after days netbook's keyboard damaged. can tell me how can using command? make bash script , control it's brightness mouse click.thanks in advance.

there number of ways can done:

1. xbacklight (available in software centre)
example:
code:
xbacklight -set 50
...where 50 desired backlight %

2. setpci command - need know address of video card:
code:
lspci | grep vga
example:
code:
sudo setpci -s 00:02.0 f4.b=7f
...where 00:02.0 device id , 7f hexidecimal equivalent of brightness value want

3. echo brightness value directly backlight interface brightness file:
first, need identify backlight interface:
code:
ls /sys/class/backlight
...and 1 interface listed.
example:
code:
echo 5 | sudo tee /sys/class/backlight/intel_backlight/brightness
...where 5 value (between 0 , contents of /sys/class/backlight/intel_backlight/max_brightness) , /sys/class/backlight/intel_backlight/brightness backlight interface brightness file


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Hardware [ubuntu] Brightness control using command


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account