Difference between revisions of "LCD Brightness"

From ThinkWiki
Jump to: navigation, search
m (X61 link)
Line 12: Line 12:
  
 
{{cmduser|$xrandr --output LVDS --set BACKLIGHT_CONTROL native}}
 
{{cmduser|$xrandr --output LVDS --set BACKLIGHT_CONTROL native}}
 +
 +
For my {{X61}}, these following scripts from [http://d.hatena.ne.jp/conceal-rs/20080309/1205083315 this japanese site] helped:
 +
 +
% cat /etc/acpi/video_brightnessdown.sh
 +
#!/bin/sh
 +
xbacklight -dec 10%
 +
 +
% cat /etc/acpi/video_brightnessup.sh
 +
#!/bin/sh
 +
xbacklight -inc 10%

Revision as of 00:17, 17 August 2008

This page is a stub

You can help ThinkWiki by expanding it.

LCD Brightness

This worked for my X61:

Once your brightness keys work, you can set the brightness by writing to the procfs:

# echo 100 > /proc/acpi/video/VID1/LCD0/brightness

using a script and acpid events. However this may lead to a bug (screen flickers) described on the Debian mailing list [[1]]. This bug is related to the X server as it does not occur on the tty1. To fix it change your xrandr backlight control to native:

$ $xrandr --output LVDS --set BACKLIGHT_CONTROL native

For my X61, these following scripts from this japanese site helped:

% cat /etc/acpi/video_brightnessdown.sh
#!/bin/sh
xbacklight -dec 10%
% cat /etc/acpi/video_brightnessup.sh
#!/bin/sh
xbacklight -inc 10%