Ubuntu14.10 boot screen brightness settings

Source: Internet
Author: User
If you use Ubuntu14.10 or Ubuntu14.04, you will know that after Ubuntu is installed on your laptop, the screen brightness of the system is the maximum by default after each boot. Now, we can add the command to modify the system brightness in the Linux boot script. 1. view the maximum brightness of your system: See cd/sys/class/backlightlinuxidc @ linuxidc :~ $ Cd/sys/class/backligh

If you use Ubuntu 14.10 or Ubuntu 14.04, you will know that after Ubuntu is installed on your laptop, the screen brightness of the system is the maximum by default each time you start the system.

Now, we can add the command to modify the system brightness in the Linux boot script.

1. view the maximum brightness of your system:See

Cd/sys/class/backlight

Linuxidc @ linuxidc :~ $ Cd/sys/class/backlight
Linuxidc @ linuxidc:/sys/class/backlight $ ll
Total usage 0
Drwxr-xr-x 2 root 0 January 31 2016 ./
Drwxr-xr-x 57 root 0 January 31 2016 ../
Lrwxrwxrwx 1 root 0 January 31 15:25 intel_backlight->.../devices/pci0000: 00/0000: 00: 02.0/drm/card0/card0-LVDS-1/intel_backlight/
Lrwxrwxrwx 1 root 0 January 31 15:25 nv_backlight->.../devices/pci0000: 00/0000: 00: 01.0/. 0/drm/card1/card1-LVDS-2/nv_backlight/
Linuxidc @ linuxidc:/sys/class/backlight $

(The video card model of the notebook is different-> the brightness adjustment folder name will be different ).

2. Mine is intel_backlight.

Cd intel_backlight

See

3. You must know the maximum brightness value that can be adjusted by the max_brightness system. Bightness is the brightness you are using.

Cat max_brightness

Cat brightness

See

Copy the path of the folder.

(Different video card models have different maximum values)

4. Well, I know that the right brightness is 109. Set the brightness value at startup:

Cd/etc

Sudo vim rc. local

5. Add a command before exit 0:

Echo 50>/sys/class/backlight/intel_backlight/brightness

See (error)

After the instance is started, the brightness will be set to 50.

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/2016-01/128043.htm

Related Article

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.