1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 01:55:24 +02:00
tldr/pages/linux/xbacklight.md
Managor 1f63ed5e22
linux*: refresh old pages part 1 (#16251)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-04-25 04:34:04 +03:00

537 B

xbacklight

Utility to adjust backlight brightness using the RandR extension. More information: https://manned.org/xbacklight.

  • Get the current screen brightness as a percentage:

xbacklight

  • Set the screen brightness to 40%:

xbacklight -set {{40}}

  • Increase current brightness by 25%:

xbacklight -inc {{25}}

  • Decrease current brightness by 75%:

xbacklight -dec {{75}}

  • Increase backlight to 100%, over 60 seconds (value given in ms), using 60 steps:

xbacklight -set {{100}} -time {{60000}} -steps {{60}}