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:
...where 50 desired backlight %code:xbacklight -set 50
2. setpci command - need know address of video card:
example:code:lspci | grep vga
...where 00:02.0 device id , 7f hexidecimal equivalent of brightness value wantcode:sudo setpci -s 00:02.0 f4.b=7f
3. echo brightness value directly backlight interface brightness file:
first, need identify backlight interface:
...and 1 interface listed.code:ls /sys/class/backlight
example:
...where 5 value (between 0 , contents of /sys/class/backlight/intel_backlight/max_brightness) , /sys/class/backlight/intel_backlight/brightness backlight interface brightness filecode:echo 5 | sudo tee /sys/class/backlight/intel_backlight/brightness
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Hardware [ubuntu] Brightness control using command
Ubuntu
Comments
Post a Comment