Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
B

brightnessctl

> 编程语言
Open source

A program to read and control device brightness

1.3K stars0 likes0 views
WebsiteGitHub

About

A program to read and control device brightness

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 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Cbacklightbrightnesslinuxwayland

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

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