The problem of adjusting brightness under Linux

Source: Internet
Author: User

After the new installation of Linux some laptops can not adjust the brightness, I sorted out the more practical changes to the file to make the system brightness adjustable method.

Ubuntu, Mint, Kali Pro-Test effective

Deepin test failed, do not know why. Here is a remedy for this situation.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1. Modify Grub

Change grub_cmdline_linux= "" to grub_cmdline_linux= "Acpi_backlight=vendor "

-----------------------------------------------------------------------------
The following is the modified grub file:

#If you change this file, the run ' Update-grub ' afterwards to update#/boot/grub/grub.cfg.#for full documentation of the options in this file, see:#info-f grub-n ' simple configuration 'Grub_default=0#grub_hidden_timeout=0grub_hidden_timeout_quiet=true Grub_timeout=10Grub_distributor= ' Lsb_release-i-s 2>/dev/null | |echo Debian ' Grub_cmdline_linux_default="Quiet Splash"Grub_cmdline_linux="Acpi_backlight=vendor" #uncomment to enable Badram filtering, modify to suit your needs#This works with Linux (no patch required) and with any kernel that obtains#The memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)#grub_badram= "0X01234567,0XFEFEFEFE,0X89ABCDEF,0XEFEFEFEF"#Uncomment to disable graphical terminal (GRUB-PC only)#Grub_terminal=console#The resolution used on graphical terminal#Note that the can use only modes which your graphic card supports via VBE#You can see them in real GRUB with the command ' Vbeinfo '#grub_gfxmode=640x480#Uncomment if you don ' t want GRUB to pass "root=uuid=xxx" parameter to Linux#grub_disable_linux_uuid=true#Uncomment to disable generation of Recovery mode menu entries#grub_disable_recovery= "true"#uncomment to get a beep at grub start#grub_init_tune= "480 1"

-----------------------------------------------------------------------------------
2. Update: GRUB.CFG

Viewing grub.cfg, you can see that each boot entry is joined with "Acpi_backlight=vendor"
PS:grub.cfg is located in/boot/grub/grub.cfg

3. Remediation for Deepin brightness adjustment

In the App Store search, install redshift, this is the display color temperature automatic adjustment of the application, because there is no way to find a viable shortcut to adjust the brightness of the method, the use of this software can be a little protection of the eyes, not at night too dazzling.

As for the use of ECHO to modify the value of the file to modify the screen brightness method, I think too troublesome, did not use. Have to use this method can be self-Baidu.

The problem of adjusting brightness under Linux

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.