snippetbashTip
xbacklight — Utility to adjust backlight brightness using the RandR extension. More information: <https://manned.
Viewed 0 times
commandbrightnessbacklightcliusingadjustxbacklightutility
linux
Problem
How to use the
xbacklight command: Utility to adjust backlight brightness using the RandR extension. More information: <https://manned.org/xbacklight>.Solution
xbacklight — Utility to adjust backlight brightness using the RandR extension. More information: <https://manned.org/xbacklight>.Get the current screen brightness as a percentage:
xbacklightSet 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}}Code Snippets
Get the current screen brightness as a percentage
xbacklightSet 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}}Context
tldr-pages: linux/xbacklight
Revisions (0)
No revisions yet.