Thursday, May 9, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1086  / 3 Years ago, fri, october 15, 2021, 1:00:39

I want to make it so my laptop starts at a low brightness level, which is comfortable for my eyes and easy on the laptop's battery. I found some instructions here on AskUbuntu, and so by using this command:



cat /sys/class/backlight/intel_backlight/brightness


... I discovered that the maximum brightness is 4080 and the ideal brightness that I want to have my laptop default to is 700. So, I edited my /etc/rc.local file to have the following line in it:



echo 700 > /sys/class/backlight/acpi_video0/brightness


However, that didn't work. So, after a little more research, I tried this line:



echo 700 > /sys/class/backlight/intel_backlight/brightness


But that also changed nothing.



Now I'm a bit stuck. How do I get my brightness to start at the right level when I log in on my laptop?






Note: It seems that this problem may be made worse by another more general issue of commands not running at startup, which I've asked about in a separate question. I think some of the answers suggested so far may actually work in principle, but I can't verify any of them unless I'm sure my startup programs are executing at all.


More From » brightness

 Answers
7

In the end it turned out that there was a conflict with the power management preferences. The default brightness setting for when my laptop is on AC power is somehow over riding the default for when the laptop is on battery power. I've determined that if I uninstall all power management tools, then any of the commands suggested in the other answers will work.



In order to have the optimal system, I need to figure out how to get power management and screen adjustments to play nicely together, but that is a different journey from this question.



The lesson learned here, though, is that when dealing with screen brightness, or other startup commands, there may be multiple commands exerting an influence. So one necessary step in solving the problem is to try and determine all the relevant programs that might be having an impact.


[#27256] Saturday, October 16, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
hamostic

Total Points: 403
Total Questions: 142
Total Answers: 112

Location: Iceland
Member since Sat, Sep 17, 2022
2 Years ago
;