The FN-key + left and right arrow
is used to change screen brightness. By default this doesn't work. Here
is how to make them work. (I found this code in several help forums and
modified it to make it work for my Acer).
Step1:
Before you start, make a backup of these files (video_brightnessup.sh and video_brightness_down.sh) so you can put things back the way they were if necessary.
Step 2:
Edit video_brightnessup.sh (Type in terminal screen)
sudo gedit /etc/acpi/video_brightnessup.sh
Copy the text in the following block and save:
|
Step 3:
Edit video_brightnessdown.sh (Type in terminal screen)
sudo gedit /etc/acpi/video_brightnessdown.sh
Copy the text in the following block and save:
#!/bin/bash CURRENT=$(grep "current:" /proc/acpi/video/GFX0/LCD/brightness |awk '{print $2}') case "$CURRENT" in 100) echo -n 90 > /proc/acpi/video/GFX0/LCD/brightness; ;; 90) echo -n 80 > /proc/acpi/video/GFX0/LCD/brightness; ;; 80) echo -n 70 > /proc/acpi/video/GFX0/LCD/brightness; ;; 70) echo -n 60 > /proc/acpi/video/GFX0/LCD/brightness; ;; 60) echo -n 50 > /proc/acpi/video/GFX0/LCD/brightness; ;; 50) echo -n 40 > /proc/acpi/video/GFX0/LCD/brightness; ;; 40) echo -n 30 > /proc/acpi/video/GFX0/LCD/brightness; ;; 30) echo -n 20 > /proc/acpi/video/GFX0/LCD/brightness; ;; 20) echo -n 10 > /proc/acpi/video/GFX0/LCD/brightness; ;; 10) echo -n 0 > /proc/acpi/video/GFX0/LCD/brightness; ;; 0) echo -n 0 > /proc/acpi/video/GFX0/LCD/brightness; ;; *) echo -n 0 > /proc/acpi/video/GFX0/LCD/brightness ; ;; esac |
No comments:
Post a Comment
Please be courteous, even if you do not share the same view.