light: command not found

light is a command line tool used to control the backlight of a computer screen. It allows you to adjust the brightness of your screen from the terminal, making it useful for situations where you don’t have access to the GUI or when you need to automate this task through a script.

If you encounter the below error while running the command light:

light: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Arch Linux pacman -S light
Fedora dnf install light

light Command Examples

1. Get the current backlight value in percent:

# light

2. Set the backlight value to 50 percent:

# light -S 50

3. Reduce 20 percent from the current backlight value:

# light -U 20

4. Add 20 percent to the current backlight value:

# light -A 20
Related Post