BRIGHTNESSCTL(1)

πŸ“¦
version 0.5.1 Β· 2 versions
  • 0.5.1 Β· alpine 3.24, arch rolling, debian bookworm, debian trixie, epel 9, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.5.1 Β· fedora 43, fedora 44
, in alpine 3.24, arch rolling, debian bookworm, debian trixie, epel 9, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu resolute, ubuntu stonking

🌟 BRIGHTNESSCTL(1) β€” the brightnessctl manual, but make it cute 🌟

okay bestie, listen. this is brightnessctl β€” the little command-line cutie that reads and controls your device brightness. your screen? your keyboard backlight? she's got range. let's go πŸ’…


✨ NAME ✨

brightnessctl β€” read and control device brightness πŸ¦‹


✨ SYNOPSIS ✨

brightnessctl [options] [operation] [value...]

that's it. that's the whole shape of it. options first, then the operation, then whatever value you're feeding her. slay πŸŽ€


✨ OPTIONS ✨

  • -h, --help β€” prints this help. the "girl just tell me what to do" option 🫢
  • -l, --list β€” lists every device that has brightness controls available. a little roster of your faves ✨
  • -q, --quiet β€” suppresses output. she's silent, she's mysterious, she's doing it anyway πŸ’œ
  • -p, --pretend β€” does not perform write operations. purely a dress rehearsal, no actual changes πŸ”₯
  • -m, --machine-readable β€” produces machine-readable output. for when you need it parsed, not admired πŸ€–
  • -n, --min-value=VALUE β€” sets the minimum brightness used when you're working with delta values. defaults to 1.
  • -e, --exponent=K β€” changes the percentage scaling curve from linear (the default) to exponential. default exponent is 4.

the percentage equation, verbatim, no cap:

% = [VALUE]^[K] * [MAX] * 100^-[K]

the exponential curve may make the adjustments perceptually equal β€” i.e. it actually feels even to your eyeballs instead of lying to you πŸ’€

  • -s, --save β€” saves state in a temporary file. little snapshot, little memory, we love to see it πŸ“Έ
  • -r, --restore β€” restores the previously-saved state. she remembers πŸ₯Ί
  • -d, --device=DEVICE β€” specify the device name. can be a wildcard, so go feral with it 🌈
  • -c, --class=CLASS β€” specify the device class.
  • -v, --version β€” prints the version and exits. mic drop, she's out πŸ‘‘

✨ OPERATIONS ✨

  • i, info β€” get device info. the tea β˜•
  • g, get β€” get the current brightness of the device.
  • m, max β€” get the maximum brightness of the device. her ceiling, her limit, her final form πŸ’…
  • s, set VALUE β€” set the brightness of the device. this is the main character one πŸ‘‘

✨ VALUES ✨

so for the set command you can hand her a VALUE in absolute form or relative form, and as either a plain value or a delta from the current value. the range?? unmatched. here's the receipts:

brightnessctl set 500

sets brightness to 500.

brightnessctl set 50%

sets brightness to 50% of the maximum.

brightnessctl set 50-

subtracts 50 from the current brightness.

brightnessctl set +10

adds 10 to the current brightness.

brightnessctl set 50%-

subtracts 50% of the maximum from the current brightness.

brightnessctl set +10%

adds 10% of the maximum to the current brightness.

see how the + and - are doing the whole personality of the command?? absolute vs relative, percentage vs raw. she contains multitudes πŸ¦‹


✨ AUTHORS ✨

maintained by Mykyta Holubakha, who is assisted by other open source contributors 🫢 for more info about brightnessctl development, come through:

https://github.com/Hummer12007/brightnessctl

ngl, don't forget the -p flag exists β€” if you're just testing a vibe, pretending means no writes actually happen. safety first, bestie πŸ’–

and that's the whole page, fr fr. this was brightnessctl, from the brightnessctl manual, dated 24th Jan 2018 β€” yes she's an elder but she's still iconic and she ate πŸ’…πŸŒΈ bye bestie, go brighten something πŸŽ€βœ¨