[Ubuntu daily tips] Ubuntu automatically sets the brightness of the notebook screen after Ubuntu is installed, it is found that the screen is the maximum brightness every time the boot screen is set, it is very difficult to set the brightness every time
Annoying, network search found a solution, sorting out as follows: Ubuntu laptop boot automatic brightness setting method: 1. open the Software Center, install the laptop-mode package, or: sudo apt-get install laptop-mode-tools 2. open the file:/etc/laptop-mode/laptop-mode.conf to change the following flag to 1: ENABLE_LAPTOP_MODE_ON_AC = 1 # use laptop mode to save the file in AC mode; 3. set brightness: vi/etc/laptop-mode/conf. d/lcd-brightness.conf modify the following line: CONTROL_BRIGHTNESS = 1 # use laptop mode for LCD brightness control BATT_BRIGHTNESS_COMMAND = "echo 4" # the value "4" here is the brightness level LM_AC_BRIGHTNESS_COMMAND = "echo 8" # Use brightness level of the external power supply NOLM_AC_BRIGHTNESS_COMMAND = "echo 6" # brightness level when the external power supply is used, this is not very understandable # BRIGHTNESS_OUTPUT = "/proc/acpi/video/VID/LCD/brightness" BRIGHTNESS_OUTPUT = "/sys/class/backlight/acpi_video0/brightness" reference size is the maximum brightness (15 on my laptop): $ cat/sys/class/backlight/acpi_video0/max_brightness15 source http://www.cnblogs.com/QuLory/archive/2013/03/24/2978351.html