1 unstable release
Uses new Rust 2024
| 0.0.2 | Feb 8, 2026 |
|---|
#560 in GUI
36KB
596 lines
Dim and Dimmer
A simple Linux GUI application for controlling external monitor brightness and contrast.
Features
- Monitor Control - Adjust brightness and contrast on external monitors via DDC-CI
- Software Dimming - Additional gamma-based dimming for X11 sessions
- Auto-Detection - Automatically detects connected monitors
- Simple Interface - Clean, intuitive sliders for quick adjustments
Installation
From crates.io
cargo install dim-and-dimmer
From Source
git clone https://github.com/rykilleen/dim-and-dimmer.git
cd dim-and-dimmer
cargo build --release
sudo cp target/release/dim-and-dimmer /usr/local/bin/
Requirements
- Linux with X11 (Wayland not yet supported)
ddcutilinstalled for monitor controlxrandrfor software dimming- Membership in
i2cgroup (or root) for DDC-CI access
Installing Dependencies
Debian/Ubuntu:
sudo apt install ddcutil x11-xserver-utils
Fedora:
sudo dnf install ddcutil xrandr
Arch Linux:
sudo pacman -S ddcutil xorg-xrandr
i2c Group Access
For DDC-CI to work without root, add yourself to the i2c group:
https://github.com/RyKilleen/dim-and-dimmer```bash
sudo usermod -aG i2c $USER
Log out and back in for the change to take effect.
## Usage
1. Launch the application
2. Select your monitor from the dropdown
3. Adjust brightness and contrast with the sliders
4. Optionally use software dimming for additional control
## Desktop Integration
If you installed via the install script, Dim and Dimmer will appear in your application menu. For manual installations, copy the desktop file:
```bash
sudo cp assets/dim-and-dimmer.desktop /usr/share/applications/
License
MIT
Dependencies
~8–35MB
~508K SLoC