Let Ubuntu14.04 "save" the screen brightness value

Source: Internet
Author: User
The Ubuntu/Debian system has a common problem, that is, the system will adjust your screen brightness to the maximum value every time you start the system. I was surprised why the problem was not fixed in version 14.04. However, we can use a script to set the brightness to a fixed value each time Ubuntu is started. First, check the brightness value range of your screen: sudocat/sys/class/backlight/acpi_video0/max_brightness. My value is 15,

The Ubuntu/Debian system has a common problem, that is, the system will adjust your screen brightness to the maximum value every time you start the system. I was surprised why the problem was not fixed in version 14.04. However, we can use a script to set the brightness to a fixed value each time Ubuntu is started.

First, check the range of your screen brightness value:

Sudo cat/sys/class/backlight/acpi_video0/max_brightness

My value is 15, that is, the brightness value can be between 0 and ~ Between 15.

Modify/etc/rc. local and add the following before the last exit 0:

Echo 3>/sys/class/backlight/acpi_video0/brightness

After the system is started, the script is executed. Therefore, the brightness value is set to 3 each time the system is started.

Another article:A script allows your Ubuntu 14.04 to remember the screen brightnessHttp://www.linuxidc.com/Linux/2014-09/106847.htm

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-09/106846.htm

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.