Hot answers tagged

2

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 source_monitor.sh [-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 ...


1

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 ...


1

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


1

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