How to ensure keyboard backlight is always on (at max) at boot time?
4
votes
2
answers
4138
views
Question
------------
How to ensure keyboard backlight is on (at max) at boot time on a Dell laptop?
Rationale
----------
I sometimes hit the combination of keys which turns off the keyboard backlight at day time not noticing it, and then when I wake up, in the middle of the night usually, I don't want to wake up my wife by turning the lights on. Hence, I seek a solution, which would read the maximum possible value of the backlight and setting it no matter what when I boot my computer up. I always turn it off at night so the solution does not have to account for the sleep or hibernate modes.
Research
---------
The maximum value of keyboard backlight is stored in:
/sys/class/leds/dell\:\:kbd_backlight/max_brightness
And the actual value of currently set value is stored in:
/sys/class/leds/dell\:\:kbd_backlight/brightness
Asked by Vlastimil Burián
(30515 rep)
Oct 30, 2018, 04:39 PM
Last activity: Dec 23, 2020, 07:21 AM
Last activity: Dec 23, 2020, 07:21 AM