Better Blur DX is available on Gentoo through the xarblu-overlay repository, maintained by the project author xarblu.
Installation
Enable xarblu-overlay
Enable the overlay repository using eselect:eselect repository enable xarblu-overlay
This adds the repository to your system’s overlay configuration. Sync the Overlay
Synchronize the overlay to fetch the latest ebuilds:emerge --sync xarblu-overlay
You can also sync all repositories: Install Better Blur DX
Install the package using emerge:emerge --ask kde-misc/kwin-effects-better-blur-dx
This will install the Wayland version by default. Enable the Effect
After installation:
- Open System Settings > Desktop Effects
- Disable any existing blur effects
- Enable Better Blur DX
USE Flags
The ebuild supports USE flags for customizing the build:
# Enable X11 support (Wayland is default)
echo "kde-misc/kwin-effects-better-blur-dx X" >> /etc/portage/package.use/better-blur-dx
emerge --ask kde-misc/kwin-effects-better-blur-dx
The live version (9999) requires the ** keyword and will track the latest development changes from the main branch.
System Upgrades
Important: After upgrading Plasma or KWin, you must rebuild the package.The effect is compiled against a specific KWin version. After system upgrades that update KWin:emerge --ask kde-misc/kwin-effects-better-blur-dx
Then restart KWin by logging out and back in.
Automatic Rebuilds
To automatically rebuild the effect when KWin is updated, you can use Portage’s preserved-rebuild feature:
# After world update, rebuild preserved libraries
emerge @preserved-rebuild
Alternatively, add the package to your world set to ensure it’s always considered during updates:
emerge --noreplace kde-misc/kwin-effects-better-blur-dx
Wayland vs X11
The default build is for Wayland, which is the recommended and actively tested display server:emerge --ask kde-misc/kwin-effects-better-blur-dx
To build for X11, enable the X USE flag:echo "kde-misc/kwin-effects-better-blur-dx X" >> /etc/portage/package.use/better-blur-dx
emerge --ask kde-misc/kwin-effects-better-blur-dx
X11 support is deprecated and not actively tested. Use Wayland for the best experience.
Troubleshooting
If you encounter issues:
-
Effect not loading: Check if the plugin is installed:
ls /usr/lib64/qt6/plugins/kwin/effects/plugins/libbetterblur.so
-
Build failures: Ensure you have the latest KWin development packages:
emerge --ask --oneshot kde-plasma/kwin
-
Check dependencies: Verify all dependencies are satisfied:
emerge --pretend --verbose kde-misc/kwin-effects-better-blur-dx
-
View logs: Check emerge logs for build errors:
cat /var/tmp/portage/kde-misc/kwin-effects-better-blur-dx-*/temp/build.log
Next Steps
Learn how to configure Better Blur DX in the Configuration section.