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