A GTK Interface for controlling brightness through the DDC/CI protocol. It includes support for controlling the brightness of multiple displays.
- ddcutil library package (typically libddcutil or libddcutil-dev if not already installed with ddcutil)
- GTK 3.0
- Firstly, ensure that all the dependancies are installed.
pacman -S --needed ddcutil gtk3
sudo apt install libgtk3-dev gcc
sudo add-apt-repository ppa:rockowitz/ddcutil # add ddcutil repo
sudo apt install ddcutil libddcutil-dev
sudo dnf install ddcutil libddcutil libddcutil-devel gtk3-devel gcc
TODO: Add other distributions to this! #3
-
Ensure that your user has access to the i2c devices: https://www.ddcutil.com/i2c_permissions/
-
Clone this repo along with its submodules:
git clone --recurse-submodules https://github.com/ahshabbir/ddcbc-gtk.git
- Change into the ddcbc-gtk directory and execute build.sh to build this application:
cd ddcbc-gtk
./build.sh
- This should result in a ddcbc-gtk binary that you can execute to contol the brightness:
./ddcbc-gtk
To install this binary for all users execute 'install.sh' as root:
sudo ./install.sh
You should now be able to find ddcbc-gtk or DDC Brightness Control in your application menu under utilities.
- Unaligned seperator between each monitor. #1
- Find/create a logo. #2
- Add directions for installing deps on other distros. #3
rockowitz - for ddcutil c api: https://github.com/rockowitz/ddcutil