I modified /etc/rc.local to set the brightness, but however when I suspend and wake it up, its brightness always reset to maximum. What's wrong, and how can I fix it?
Asked
Active
Viewed 523 times
3
anonymous2
- 4,268
- 7
- 33
- 61
-
That's funny because mine occasionally resets to minimum when waking up. – Jeff Puckett Mar 22 '17 at 12:54
-
You are experiencing the wonders of Power Management. Read `man pm-action`. It will show you how Ubuntu suspends and wakes up, and where to put your intervention to fix brightness. – waltinator Mar 22 '17 at 14:22
-
I can't say why your brightness was resetting to min or max. But this will set brightness to your preferred setting automatically based on sunrise and sunset: http://askubuntu.com/questions/894460/automatically-adjust-display-brightness-based-on-sunrise-and-sunset/894470#894470 – WinEunuuchs2Unix Mar 23 '17 at 02:07