DOKK / manpages / debian 12 / light / light.1.en
LIGHT(1) General Commands Manual (urm) LIGHT(1)

lighta program to control backlight controllers

light [OPTIONS] [VALUE]

light is a program to control backlight display and keyboard controllers under GNU/Linux.

  • Operates independently of X (X-Window)
  • Can automatically figure out the best controller to use, making full use of the underlying hardware
  • Supports a minimum cap on the brightness value, as some controllers set the display to be pitch black at a vaĺue of 0 (or higher)

The following unique commands are supported:

, -h
Show help text and exit
Show program version and exit
List available devices
Increase brightness by value
Decrease brightness by value
Set brightness to value
Get brightness, default
Set minimum brightness to value
Get minimum brightness
Save current brightness
Restore previously saved brightness

The behavior of the above commands can be modified using these options:

Interpret input and output values in raw mode
PATH
Specify device target path. Use -L to list available devices
LEVEL
Set verbosity level, by default light only outputs read values:

0:
Read values
1:
Read values, Errors
2:
Read values, Errors, Warnings
3:
Read values, Errors, Warnings, Notices

When run in its classic SUID root mode light caches settings and current brightness in /etc/light. In its non-privileged mode of operation the ~/.cache/light directory is used instead.

Copyright © 2012-2018 Fredrik Haikarainen

This is free software, see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE

August 4, 2018 GNU/Linux