LinuxCommandLibrary

light

controls the backlight brightness of laptop screens and other controllable

TLDR

Get current backlight value

$ light
copy
Set backlight to 50%
$ light -S 50
copy
Increase backlight by 20%
$ light -A 20
copy
Decrease backlight by 20%
$ light -U 20
copy

SYNOPSIS

light [options]

DESCRIPTION

light controls the backlight brightness of laptop screens and other controllable backlights. It works without X or Wayland and can save and restore brightness levels.

PARAMETERS

-S PERCENT

Set brightness to specified percent
-A PERCENT
Add percent to current brightness
-U PERCENT
Subtract percent from current brightness
-G
Get current brightness (default)
-O
Save current brightness
-I
Restore previously saved brightness
-L
List available devices
-s DEVICE
Select specific device

CAVEATS

May require udev rules for non-root access. Works with devices exposed through /sys/class/backlight.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community