Linux command
brightnessctl 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
List devices
brightnessctl -l
Example
brightnessctl get
Example
brightnessctl get -d '[device_name]'
Set
brightnessctl set [50]%
Increase
brightnessctl set +[10]%
Decrease
brightnessctl set [10]%-
说明
brightnessctl reads and controls device brightness on Linux systems. It supports display backlights, keyboard backlights, and other brightness-controllable devices through the sysfs interface. The tool can adjust brightness using absolute values or percentages, with support for increment and decrement operations.
参数
- -d, --device _name_
- Specify device (supports wildcards)
- -c, --class _class_
- Device class (backlight, leds)
- -s, --save
- Save state before change
- -r, --restore
- Restore saved state
- -q, --quiet
- Suppress output
FAQ
What is the brightnessctl command used for?
brightnessctl reads and controls device brightness on Linux systems. It supports display backlights, keyboard backlights, and other brightness-controllable devices through the sysfs interface. The tool can adjust brightness using absolute values or percentages, with support for increment and decrement operations.
How do I run a basic brightnessctl example?
Run `brightnessctl -l` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -d, --device _name_ do in brightnessctl?
Specify device (supports wildcards)