This KDE Desktop Effect allows for rendering a specific color as transparent within window contents, for use with software such as overlays.
| WITHOUT EFFECT | WITH EFFECT |
|---|---|
![]() |
![]() |
The Color Translucency Effect is an enhancement for KDE Plasma desktops, enabling the rendering of specific colors as transparent within the contents of a window.
Before installation, ensure you have installed the necessary dependencies. The following are based on the original KDE Rounded Corners project and may not be exhaustive.
For Ubuntu/Debian based systems:
sudo apt install git cmake g++ gettext extra-cmake-modules qttools5-dev libqt5x11extras5-dev libkf5configwidgets-dev libkf5globalaccel-dev libkf5notifications-dev kwin-devFor Fedora:
sudo dnf install git cmake gcc-c++ extra-cmake-modules qt5-qttools-devel qt5-qttools-static qt5-qtx11extras-devel kf5-kconfigwidgets-devel kf5-kcrash-devel kf5-kguiaddons-devel kf5-kglobalaccel-devel kf5-kio-devel kf5-ki18n-devel kwin-devel qt5-qtbase-devel libepoxy-develFor openSUSE:
sudo zypper install git cmake gcc-c++ extra-cmake-modules libqt5-qttools-devel libqt5-qtx11extras-devel kconfigwidgets-devel kguiaddons-devel kglobalaccel-devel ki18n-devel knotifications-devel kwin5-devel libQt5Gui-devel libQt5OpenGL-devel libepoxy-devel kwindowsystem-devel libqt5-qtnetworkauth-develFor Void Linux:
xbps-install git cmake make qt5-tools-devel extra-cmake-modules qt5-x11extras-devel gettext-devel kwin-develThen compile and install the effect:
git clone https://github.com/aaronkirschen/KDE-Color-Translucency.git
cd KDE-Color-Translucency
mkdir build
cd build
cmake .. --install-prefix /usr
make
sudo make installTo activate the new effect, restart KWin:
kwin_x11 --replace &Alternatively, you can log out and back in.
To uninstall the effect:
sudo make uninstallNote: Run this command from the build directory of your installation.
Configure the effect in the KDE System Settings under Desktop Effects. The 'ColorTranslucency' effect will appear in the list where its settings can be adjusted.
For building from the source, ensure all dependencies are installed:
mkdir build
cd build
cmake ..
makeContributions are welcome. Please report issues or suggest improvements through the project's GitHub page.
Licensed under the GPL v3 License - see the LICENSE file for details.
This effect is based on the KDE Rounded Corners project, modified to include color translucency functionality. For a comprehensive list of contributors to the original project, please refer to the original repository.

