After Ubuntu restarts, how does the screen display the maximum brightness?

  
                

After booting, the Ubuntu screen shows the maximum brightness. After re-adjusting the screen brightness, restart the Ubuntu system and find that the screen is still displayed as the maximum brightness, so you need to adjust it again. Every time you restart, you need to adjust the screen brightness. How to solve this problem?

process is as follows:

1. Open the terminal input codes :( grub default profile, which has the option to set 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 selection)

GRUB_CMDLINE_LINUX=“”

3. Change it to the following statement:

GRUB_CMDLINE_LINUX=“acpi_backlight=vendor“ (Select background brightness is vendor type)

4. Save and save.

5.Upgrade grub:

sudo update-grub

Restart it. Press FN to adjust the brightness.

At this point, the process of setting the default screen brightness value is not finished.

Used to set the initial value of brightness:

1. Terminal input code:

sudo gedit /etc/rc.local

2.Open Add a sentence to the file (added before exit 0) code:

echo 500 》 /sys/class/backlight/intel_backlight/brightness

PS:500 refers to the brightness value of the screen. You can first check the maximum brightness value of the screen and then set the default screen brightness value here as needed.

The command to query screen brightness is: sudo cat /sys/class/backlight/intel_backlight/brightness or sudo cat /sys/class/backlight/intel_backlight/max_brightness

3. Then save it .

The above is the way Ubuntu sets the default brightness of the screen. By setting the default value of the screen brightness, it can solve the problem that the Ubuntu screen is displayed as the maximum brightness every time.

Copyright © Windows knowledge All Rights Reserved