Created
April 1, 2014 15:38
-
-
Save tuanle/9916692 to your computer and use it in GitHub Desktop.
Fix problem that ubuntu (or maybe based ubuntu distro) always reset screen brightness setting on laptop. It is tested in mine Thinkpad T530.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo bash -c '{ | |
echo "start on (login-session-start)" | |
echo "script" | |
echo " echo 13 2>/dev/null > /sys/class/backlight/acpi_video0/brightness" | |
echo " echo 13 2>/dev/null > /sys/class/backlight/acpi_video1/brightness" | |
echo "end script" | |
} > /etc/init/brightness.conf ' | |
# Another way, you can insall xbacklight | |
# sudo apt-get instal xbacklight | |
# xbackligh -set 90 | |
# (mean 90% brightness) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment