Post

How to turn on the keyboard LED on Linux.

To proceed, we will use the Brightnessctl tool. Brightnessctl is a command-line tool on Linux systems that allows you to control the brightness of screens and monitors.

Download:>

1
2
3
4
5
6
7
8
9
#Ubuntu/Debian:
sudo apt update
sudo apt install brightnessctl

#Fedora:
sudo dnf install brightnessctl

#Arch Linux:
sudo pacman -S brightnessctl

Usage instructions:>

Execute the following command to list available brightness devices. This will display a list of brightness devices on your system. Select the number corresponding to Scroll Lock

1
brightnessctl -l

Once you have identified the input number for Scroll Lock, use the command ‘brightnessctl — device=’input2::scrolllock’ set 1’ to adjust the brightness. Replace [2] with the input number you identified:

After executing the above commands, the keyboard LEDs lit up automatically.

Extra Video Showing the Step-by-Step:

This post is licensed under CC BY 4.0 by the author.