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

5
Score 79.1%
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)

Authors

Eon S. Jeon esjeon@hyunmu.am - main author Aaron Miller (https://github.com/aaronm-cloudtek) - blacklist mode



redstar6486

23 days ago

9 9 excellent

Report

nhoxsang2411994

24 days ago

10 10 the best

Report

aslan2142

24 days ago

hello, is there a way to apply this blur to all programs and windows?

Report

C

esjeon

24 days ago

Hi, I just updated the script. You can now choose blacklisting mode from the options. Note that blur effect traditionally has caused performance issues w/ graphics-heavy apps like video players and games. I'm not sure if this is still the case, but I recommend testing them before working on anything serious.

Report

aslan2142

23 days ago

thank you

Report

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

2 months ago

10 10

Report

deezee

2 months 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

2 months 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

2 months 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

4 months ago

10 10 the best

Report

n3aka

4 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

4 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

5 months ago

9 +

Report

nikita240

6 months ago

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

Report

12345678910
34
product-maker redstar6486 Sep 22 2019 9 excellent
9 excellent
product-maker nhoxsang2411994 Sep 21 2019 10 the best
10 the best
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 Base: 4 x 5.0 Ratings
austin98
Oct 07 2019
rocketlr
Jun 28 2019
vladimir123
Jun 05 2019
mallgrab
May 17 2019
l4k1
Mar 14 2019
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
0 Affiliates
Details
license
MIT License
version
0.4
updated Sep 21 2019
added Mar 14 2019
downloads 24h
17
page views 24h 47