Fix ubuntu Each restart screen brightness is reset to the highest brightness issue

Source: Internet
Author: User

Many friends will encounter this problem, Ubuntu system, each time through the system settings to modify the screen brightness, restart the system will be the screen brightness is adjusted to the maximum value, is very distressed.

Internet search found that the file to modify the screen brightness is:/sys/class/backlight/intel_backlight/brightness

We can set the screen brightness by manually modifying this file, and add it to the boot boot.

Specific steps:

1. View current Brightness value

$ cat/sys/class/backlight/intel_backlight/brightness
4437 #此亮度值是我笔记本的最高亮度

2, through the "System settings" ==> "Brightness and lock Screen", set the screen brightness to their own state of adaptation, and here to view the system brightness file data.

$ cat/sys/class/backlight/intel_backlight/brightness

#个人习惯亮度

3, manually modify the system brightness to the brightest, and manually modify the file, test whether it can successfully adjust the screen brightness

$ sudo echo >/sys/class/backlight/intel_backlight/brightness

Some computers may appear not to have permission to prompt (according to normal, sudo should not prompt this, but I do not prompt enough permission)

4. Modify Permissions

$ sudo chmod o+w/sys/class/backlight/intel_backlight/brightness

5, modify the permissions can be directly modified, do not need sudo

echo >/sys/class/backlight/intel_backlight/brightness

6, if the screen brightness adjustment is successful, you can add this sentence to/etc/rc.local each boot

$ sudo vi/etc/rc.local

---------------------

echo >/sys/class/backlight/intel_backlight/brightness <--end plus one line

---------------------

This is done, reboot the system and try it!

Fix ubuntu Each restart screen brightness is reset to the highest brightness issue

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.