Linux Usage tips 6--ubuntu notebook screen brightness adjustment

Source: Internet
Author: User

The day before yesterday to start a Dell notebook, i7 fifth generation processor, 8G memory, 1T hard disk, very well in line with my mobile workstation requirements. Today decisive will be genuine win8 replaced with Ubuntu,diy The consequence is the original 3 seconds to start the system into the present 15 seconds, endure. But another problem is very disturbing me, that is, the screen brightness can not be adjusted, high intensity of the thorn I was headache eye pain. This should be attributed to the drive problem, because the system comes with an adjustment brightness tool that does not work.

To do this: System settings->personal->brightness & lock--> Adjust the brightness slider.

The solution is to write a script to modify the screen brightness value and start after booting. After I have verified it, I will do so at the moment.
The approach is as follows:
1. Script content:

$ 465/sys/class/backlight/intel_backlight/brightness

The maximum brightness of the book is:

$ cat /sys/class/backlight/intel_backlight/max_brightness 937

So I set the 465 to count.

2. Set this script to boot
Add the following script to the/etc/rc.local.

$ sudo vim /etc/rc.local...    /usr/local/sbin/brightness.sh

Reboot the system and see how it changes.

Linux Usage tips 6--ubuntu notebook screen brightness adjustment

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.