Changing the screen brightness in Ubuntu is actually modifying the/sys/class/backlight/acpi_video0/brightness file (N card ). To adjust the screen brightness with a shortcut key, add Option "RegistryDwords" "EnableBrightnessControl = 1" to the Section named "Device" in/etc/X11/xorg. conf"
Changing the screen brightness in Ubuntu is actually modifying the/sys/class/backlight/acpi_video0/brightness file (N card ).
To adjust the screen brightness by using the shortcut key, add a sentence in Section "Device" in/etc/X11/xorg. conf.
Option "RegistryDwords" "EnableBrightnessControl = 1"
Uninstall the built-in driver before installing the video card driver, otherwise the screen brightness cannot be saved after restart. For more information, see http://www.linuxidc.com/Linux/2012-09/71206.htm
You can write the "/etc/rc. local" command to adjust the screen brightness.
Echo 5>/sys/class/backlight/acpi_video0/brightness