← 返回命令列表

Linux command

ybacklight 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Get brightness

ybacklight -get

Set brightness

ybacklight -set [50]

Increase brightness

ybacklight -inc [10]

Decrease brightness

ybacklight -dec [10]

说明

ybacklight controls the display backlight brightness from the command line. It provides a simple interface for getting, setting, and adjusting the screen brightness level as a percentage value. Brightness can be set to an absolute percentage with -set, or adjusted relative to the current level with -inc and -dec. The -get option queries the current brightness level. The tool serves as an alternative to xbacklight, providing similar functionality for systems where xbacklight does not work correctly due to driver or hardware differences.

参数

-get
Show current level.
-set _VAL_
Set to percentage.
-inc _VAL_
Increase by amount.
-dec _VAL_
Decrease by amount.

FAQ

What is the ybacklight command used for?

ybacklight controls the display backlight brightness from the command line. It provides a simple interface for getting, setting, and adjusting the screen brightness level as a percentage value. Brightness can be set to an absolute percentage with -set, or adjusted relative to the current level with -inc and -dec. The -get option queries the current brightness level. The tool serves as an alternative to xbacklight, providing similar functionality for systems where xbacklight does not work correctly due to driver or hardware differences.

How do I run a basic ybacklight example?

Run `ybacklight -get` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -get do in ybacklight?

Show current level.