LIGHT(1)
π‘ light β a program to control backlight controllers π‘
okay bestie, gather round, because this one is actually about your screen being too damn bright at 3am π«Ά
β¨ SYNOPSIS β¨
light [OPTIONS] [VALUE]
π DESCRIPTION π
so light is a program to control backlight display and keyboard controllers under GNU/Linux. yes, both. screen brightness AND your lil keyboard glow. iconic behavior tbh π
here's what makes it eat:
- Operates independently of X (X-Window) β she does not need your whole graphics stack to function, no cap
- Can automatically figure out the best controller to use, making full use of the underlying hardware β she does her own research fr fr
- Supports a minimum cap on the brightness value, because some controllers set the display to be pitch black at a vaΔΊue of 0 (or higher) π like genuinely unreadable, zero stars
π COMMANDS π
these are the unique commands, and they are giving main character energy:
-H,-hβ Show help text and exit π-Vβ Show program version and exit-Lβ List available devices (the roster. the lineup. the girls.)-Aβ Increase brightness by value β¬οΈβ¨-Uβ Decrease brightness by value β¬οΈ-Sβ Set brightness to value-Gβ Get brightness, default (if you run her with nothing, this is what you get)-Nβ Set minimum brightness to value-Pβ Get minimum brightness-Oβ Save current brightness πΎ-Iβ Restore previously saved brightness β»οΈ
π¦ OPTIONS π¦
and now, the glow-up options β the behavior of the above commands can be modified using these:
-rβ Interpret input and output values in raw mode π§-sPATH β Specify device target path. Use-Lto list available devices (pick your fave, she's polyamorous with hardware)-vLEVEL β Set verbosity level. by defaultlightonly outputs read values, so here's the tier list:0: Read values1: Read values, Errors2: Read values, Errors, Warnings3: Read values, Errors, Warnings, Notices
π FILES π
the way she stores things depends on the mode, and this matters:
- When run in its classic SUID root mode,
lightcaches settings and current brightness in/etc/lightπ₯ - In its non-privileged mode of operation, the
~/.cache/lightdirectory is used instead πΈ
bestie pls note: SUID root mode is the one that writes into/etc/light. non-privileged keeps it cozy in~/.cache/light. two different addresses, two different vibes, don't mix them up π
π AUTHORS π
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 π
okay that's the whole page, and honestly? she ate. this dropped as LIGHT(1) on GNU/Linux, dated August 4, 2018, and that's your local-manual moment of the day. brightness controlled, keyboard glowing, no notes. periodt β¨ππ«Ά
π¦ where this page comes from
- debian bookworm: light 1.2.2-2 Β· GPL-3.0-only
- debian trixie: light 1.2.2-2 Β· GPL-3.0-only
- fedora 43: light 1.2.2-16.fc43 Β· GPL-3.0-only
- fedora 44: light 1.2.2-17.fc44 Β· GPL-3.0-only
- ubuntu jammy: light 1.2.2-2 Β· GPL-3.0-only
- ubuntu noble: light 1.2.2-2 Β· GPL-3.0-only
- ubuntu resolute: light 1.2.2-2build1 Β· GPL-3.0-only
- ubuntu stonking: light 1.2.2-2build1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms