百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

brightnessctl

> 编程语言
开源

一个用于读取和控制设备亮度的程序

1.3K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

一个用于读取和控制设备亮度的程序

brightnessctl

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).

Installation

The program is available in:

  • Alpine Linux
  • Arch Linux
  • Void Linux
  • Debian - starting with Buster (and derivatives)
  • Ubuntu - starting with 18.04 (and derivatives)
  • openSUSE - available in Tumbleweed, use OBS utilities/brightnessctl devel project for Leap < 15.1
  • Fedora - available in Fedora 31+
  • NixOS/nix - starting with 17.09, please see the NixOS Wiki page for the "best-practice" configuration file based installation

One can build and install the program using ./configure && make install. Consult ./configure --help for relevant build-time options.

Permissions

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:

  1. 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)

  2. installing brightnessctl as a suid binary.

  3. using the systemd-logind API.

FAQ

I'd like to configure the brightness of an external monitor

Use the ddcci-driver-linux kernel module to expose external monitor brightness controls to brightnessctl. Available in repositories of AUR, Debian, Nix, Ubuntu, Void.

Usage

…

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Cbacklightbrightnesslinuxwayland

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言