Files
tldr/pages.zh/linux/xbacklight.md

24 lines
521 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# xbacklight
> 使用 RandR 扩展调整背光亮度的实用程序。
> 更多信息:<https://gitlab.freedesktop.org/xorg/app/xbacklight>。
- 获取当前屏幕亮度的百分比:
`xbacklight`
- 将屏幕亮度设置为 40%
`xbacklight -set {{40}}`
- 当前亮度增加 25%
`xbacklight -inc {{25}}`
- 当前亮度减少 75%
`xbacklight -dec {{75}}`
- 在 60 秒内将背光增加到 100%(值以毫秒为单位),使用 60 个步骤:
`xbacklight -set {{100}} -time {{60000}} -steps {{60}}`