Force Blur Original

Kwin Scripts blur kwin

Source (link to git-repo or to original if based on someone elses unmodified work): https://www.opencode.net/esjeon/kwin-force-blur

4
Score 75.6%
Description:

Force Blur

A KWin script to force-enable KWin Blur effect on user-specified windows.

image

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.

System Requirement

  • Operating System:

    • (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 xprop command, which would be already installed on your system.

  • X11 display server (the script does not support wayland applications)

How to Use

  1. Install the script.

  2. 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
  3. Open Kwin Scripts page in System Settings.

  4. Enable Force Blur script by checking the checkbox next to it.

  5. Change script settings. Note that the script can only match with window classes.

  6. Click OK to enable the script.

  7. Whenever settings are changed, you must disable and re-enable the script.
    (Uncheck -> Apply -> Check -> Apply)



l4k1

1 month ago

Hi reyes!
Since the author is not often here, I will try to help you

For example: You open System Settings
Right click> More Actions> Special Window Settings> Appearance & Fixes> Active opacity and Inactive opacity (to mark),> Force> Then, open the Windows Matching window (to see the correct application name), in this case: systemsettings
Then you go to System Settings> Wind Management> Kwin Scripts> Force Blur> Configure> Enter System Setting> ok> (Uncheck -> Apply -> Check -> Apply)
So for every application you want it to be Blur

Let me know if you made it!

Report

l4k1

1 month ago

Correction!!!

For example: You open System Settings
Right click> More Actions> Special Window Settings> Appearance & Fixes> Active opacity and Inactive opacity (to mark),> Force> Then, open the Windows Matching window (to see the correct application name), in this case: systemsettings
Then go to System Settings> Wind Management> Kwin Scripts> Force Blur> Configure> Insert systemsettings> ok> (Uncheck -> Apply -> Check -> Apply)
So for every application you want it to be Blur

Report

reyes

1 month ago

I apologize for my ignorance, but how do I add window's class names for other applications?

Report

l4k1

1 month ago

Correction!!!

For example: You open System Settings
Right click> More Actions> Special Window Settings> Appearance & Fixes> Active opacity and Inactive opacity (to mark),> Force> Then, open the Windows Matching window (to see the correct application name), in this case: systemsettings
Then go to System Settings> Wind Management> Kwin Scripts> Force Blur> Configure> Insert systemsettings> ok> (Uncheck -> Apply -> Check -> Apply)
So for every application you want it to be Blur

Report

reyes

1 month ago

Thanks a lot, mate! I knew there was supposed to be a Configure button in Force-blur, the thing is that it doesn't show for me right now, but I vaguely remembered it from some time ago. For some reason I cannot uninstall Force-blur, it is still shown for me even when I uninstall it, I'll keep trying to reinstall and then hope for the configure button to be there. Anyways, thanks a lot for your help!

Report

l4k1

1 month ago

This is how it should look: https://i.postimg.cc/qv12MW9y/Screenshot-20190818-193431.png

And: https://i.postimg.cc/hvYHBCKB/Screenshot-20190818-193852.png

Report

reyes

1 month ago

I'm really thankful for your help and yeah, I managed to do it already.
It was hard to uninstall it because first I installed it by downloading the .kwinscript file and using the "Install from file". Then I tried re-installing it by using the "Get new scripts..." option and by installing with ocs-url and ocs-store, but the "Configure option" still didn't show up, finally I installed it via pamac (AUR) and there it was the cute button. Everything is working as intended, thanks a lot!

Report

l4k1

1 month ago

Ok, it's important that everything is fine,
greeting

Report

deezee

1 month ago

10 10

Report

deezee

1 month ago

This works great thanks! In order for dolphin, system settings, or other apps to work you need to enable Active Opacity for them. Refer to my reply to below.

Report

socks

1 month ago

Hi, thanks for uploading this! It seems to work in some windows but not others, for example, I've use xprop | grep CLASS to get the window class of say, dolphin, or system, settings, then added it to the configuration, disabled and re-enabled, but there doesn't seem to be any change? I've closed all windows and rebooted as well with no change. I'm using Fedora 30 with KDE Plasma. Any ideas?
Thanks in advance!

Report

deezee

1 month ago

I ran into the same issue. In order for blur to work with dolphin you need to enable Active Opacity which I have it to 85% (Right click on top of Dolphin>More Actions>Special Application settings>Appearance and fixes>Active Opacity>Force

Report

vladimir123

3 months ago

10 10 the best

Report

n3aka

3 months ago

how i am able to get the window class names, it works for konsole, dolphin but not for pycharm or code oss

Report

C

esjeon

3 months ago

You can use `xprop` command for that. Run `xprop | grep CLASS` on Konsole, and click the window of your interest. The class name of the window will be printed on the terminal.

Report

l4k1

4 months ago

10 10 the best

Report

mallgrab

4 months ago

9 .

Report

mallgrab

4 months ago

Works perfectly! :)

Report

svah4cky0

4 months ago

9 +

Report

nikita240

6 months ago

Doesn't work for me. Can't figure out why.

Report

l4k1

6 months ago

Wonderful, great job!

Report

12345678910
23
product-maker deezee Jul 28 2019 10 the best
10
product-maker vladimir123 Jun 05 2019 10 the best
10 the best
product-maker l4k1 May 18 2019 10 the best
10 the best
product-maker mallgrab May 17 2019 9 excellent
.
product-maker svah4cky0 May 08 2019 9 excellent
+
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
Details
license
MIT License
version
0.3
updated Mar 14 2019
added Mar 14 2019
downloads 24h
21
page views 24h 24