A graphical utility to adjust display gamma on KDE Plasma Wayland sessions.
Wayland does not natively support legacy X11 gamma adjustment tools like xgamma. This tool works around that limitation by copying your active ICC color profile (or generating a neutral one), patching the VCGT (Video Card Gamma Table) tag with your desired gamma multiplier, and applying it seamlessly using kscreen-doctor.
Note: HDR is not supported yet.
To build and run this application, you will need the following packages installed on your system. The exact package names may vary slightly depending on your Linux distribution.
- A C compiler (
gccorclang) cmakepkg-config- GTK4 development headers (e.g.,
libgtk-4-devon Debian/Ubuntu, orgtk4-develon Arch/Fedora)
kscreen-doctor(typically included with KDE Plasma via thelibkscreenpackage)
- Make the scripts executable:
chmod +x build.sh install.sh
- Build
./build.sh
- Build and install:
./install.sh
Alternatively, you can run the CMake commands manually:
cmake -B build
cmake --build build
cmake --install build --prefix ~/.localAfter installation, launch gammactrl in your terminal or search for "Gamma Control" in your application launcher.
Use the slider to dynamically brighten or darken your display.
The application uses a default baseline. This should be fine unless the baseline does not align with your actual screen default gamma. To set a custom baseline for a monitor, use the Resync Baseline button.