Solution to the default maximum brightness of the screen after Ubuntu 14.04 is restarted

Source: Internet
Author: User

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.