Solution to the default maximum brightness of the screen after Ubuntu 14.04 is restarted
After changing the notebook to Win10 for a while, I found that all kinds of problems were not met, and all kinds of requirements were not met. So I changed Ubuntu 14.04 in anger and found that the screen brightness was the brightest at each boot, as a result, they searched for related solutions online.
The process is as follows:
1. Enter the code on the terminal: (open the default grub configuration file, which contains options for setting the screen brightness)
Sudo gedit/etc/default/grub
2. Find the following statement in the open file: (this statement is used to set the Background Brightness)
GRUB_CMDLINE_LINUX = ""
3. Change it to the following statement:
GRUB_CMDLINE_LINUX = "acpi_backlight = vendor" (set the Background Brightness to the vendor type)
4. Save the changes.
5. Upgrade grub:
Sudo update-grub
Restart... Press FN to adjust the brightness.
The process of setting the default screen brightness value is not completed.
Used to set the initial brightness value:
1. Terminal input code:
Sudo gedit/etc/rc. local
2. Add the following code to the open file (before exit 0:
Echo 500>/sys/class/backlight/intel_backlight/brightness
PS: 500 refers to the screen brightness value. You can first view the screen's maximum brightness value, and then set the default screen brightness value here as needed.
Command to query the screen brightness: sudo cat/sys/class/backlight/intel_backlight/brightness or sudo cat/sys/class/backlight/intel_backlight/max_brightness
3. Save the settings.
After the above method, you can adjust the screen brightness, and the brightness value you set will not be changed after restart.
Fighting every day and night!