Hot answers tagged


Intro The script below allows remembering brightness levels depending on the power source used by a laptop. It defaults to 50% on battery, 90% on AC. Overview of options and usage [-a INT] [-b INT] [-v] [-h] -a set initial brightness on AC adapter -b set initial brightness on batter -v enable verbose output -h prints this help text ...


I can't get gsettings to change the brightness on my laptop running Ubuntu 16.06, but I can change the brightness by storing a value in /sys/class/backlight/device-name/brightness where device-name is one of the video devices listed in /sys/class/backlight. In each of these directories there is a max_brightness file. To write to these files you will need to ...


Open /etc/default/grub with: sudo nano /etc/default/grub Modify the line reading GRUB_CMDLINE_LINUX_DEFAULT= at the beginning to: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash **acpi_backlight=native**" Then run: sudo grub-mkconfig sudo update-grub


The difference in short black'n'white text: Options in GRUB_CMDLINE_LINUX are always effective. Options in GRUB_CMDLINE_LINUX_DEFAULT are effective ONLY during normal boot (NOT during recovery mode).

Only top voted, non community-wiki answers of a minimum length are eligible