A KWin script to force-enable KWin Blur effect on user-specified windows.
This is more useful than shell script hacks, because KWin script receives event notification and window info from KWin. This can also fix tray-based apps, which loses blur hints when restored from system tray.
- (K)Ubuntu 18.10 or newer
- Fedora 29 or newer
- Arch Linux - kwin 5.14 or newer
Make sure you're using "Blur" desktop effect, which can be enabled through System Settings.
This script internally calls
xpropcommand, which would be already installed on your system.
X11 display server (the script does not support wayland applications)
How to Use
Install the script.
Run the following in terminal, to enable script configuration:
mkdir -p ~/.local/share/kservices5/ cp ~/.local/share/kwin/scripts/forceblur/metadata.desktop ~/.local/share/kservices5/forceblur.desktop
Kwin Scriptspage in
Force Blurscript by checking the checkbox next to it.
Change script settings. Note that the script can only match with window classes.
OKto enable the script.
Whenever settings are changed, you must disable and re-enable the script.
Apply-> Check ->