一个用于读取和控制设备亮度的程序
This program allows you read and control device brightness on Linux. Devices, by default, include backlight and LEDs (searched for in corresponding classes). If omitted, the first found device is selected.
It can also preserve current brightness before applying the operation (allowing for usecases like disabling backlight on lid close).
The program is available in:
utilities/brightnessctl devel project for Leap < 15.1One can build and install the program using ./configure && make install. Consult ./configure --help for relevant build-time options.
Modifying brightness requires write permissions for device files or systemd support. brightnessctl accomplishes this (without using sudo/su/etc.) by either of the following means:
installing relevant udev rules to add permissions to backlight class devices for users in video and leds for users in input. This requires your user to be in the video and input groups. (done by default)
installing brightnessctl as a suid binary.
using the systemd-logind API.
Use the ddcci-driver-linux kernel module to expose external monitor brightness controls to brightnessctl. Available in repositories of AUR, Debian, Nix, Ubuntu, Void.
…
暂无开放 Issues,或尚未同步最近议题。