Keyboard Trigger for Keyboard Backlight
I didn’t take me long to start wondering if there was a way to control keyboard backlight on my Dell XPS 3890 laptop, and of course there is a simple enough solution.
IMPORTANT: This is Dell laptops (if not Dell XPS model) specific.
Go to the /sys/devices/platform/dell-laptop/leds/dell::kbd_backlight directory and cat the file called brightess:
You can confirm the max value for brightness in a similar way:
If you just echo the numeric value you want, it will immediately apply it to your laptop’s keyboard.
IMPORANT: you need to do it as root user.
Turning backlight off:
Setting it to max brightness:
I’m really excited! Must make this into a cronjob,