brightnessctl is a lightweight command-line utility written in C that enables users to read and control device brightness on Linux systems. At its core, the tool interacts with brightness interfaces exposed by backlight and LED devices, making it possible to query current brightness, adjust levels, and even restore previously saved states. By default, brightnessctl searches relevant device classes for available brightness controllers and, if no device is specified, automatically selects the first one it finds. This functionality is especially useful for managing screen backlight or LED brightness on laptops and embedded devices without needing heavy graphical tools. The utility also supports advanced options such as machine-readable output, saving/restoring brightness state, and modifying percentage curves, providing flexibility for scripts and automation.

Features

  • Command-line control of device brightness (backlight, LEDs)
  • Automatically detects available brightness devices
  • Save and restore previous brightness levels
  • Machine-readable output option for scripting use
  • Adjustable percentage curves for custom brightness responses
  • Supports udev rules or systemd-logind for non-root permissions

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow brightnessctl

brightnessctl Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of brightnessctl!

Additional Project Details

Operating Systems

Linux

Programming Language

C

Related Categories

C Desktop Environment Software

Registered

2025-12-18