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

11
Score 87.2%
Description:

Force Blur

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.

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)

GTK CSD Shadow

Some GTK applications render client-side shadows, which look ugly if blurred. To prevent this, you can enable "Blur only the content of window" option.

This works by updating the blur region info whenever a window is resized, so might have some performance impacts. Use with caution.

Authors



sciroccogti82

14 days ago

Is there anyway to get rid of the blur thats outside gtk program windows?

Report

C

esjeon

13 days ago

I just updated the script. It now comes with an option called "Blur only content of window", which solves this exact problem.

This was implemented some time ago, but, due to how it works, it might cause some performance issues, so I had to test it extensively. It has been perfectly fine, so I'm pushing it now, but will disable it by default due to the risk.

Report

10

20percentrendered

1 month ago

10 It works a treat.

Report

10

zinjanthr0pus

2 months ago

10 Very well done script! Thanks for sharing it :)

Report

10

cookiealice

2 months ago

10 10 the best

Report

10

migue

2 months ago

10 10 the best

Report

10

yasanthaparanamanna

3 months ago

10 10 the best Perfect!!!

Report

10

yasanthaparanamanna

3 months ago

Perfect!!!

Report

icy-thought

3 months ago

This is intended for people not understanding why the configure option is not available after installing "Force Blur".

Apparently the owner of the package forgot to mention that it's required from the user to execute two commands, which are mentioned below, for the configure button to appear next to the about button.

Execute the following commands:
1. mkdir -p ~/.local/share/kservices5/
2. cp ~/.local/share/kwin/scripts/forceblur/metadata.desktop ~/.local/share/kservices5/forceblur.desktop

Report

C

esjeon

2 months ago

Sorry for the inconvenience. Somehow Pling stopped displaying README.md from the git repository. I restored the option.

Report

icy-thought

2 months ago

I am glad you noticed this comment and fixed the issue preventing pling from pulling the README.md from the official repository! Also, thank you for creating such beautiful Kwin script! :)

Report

10

skylineone044

3 months ago

10 excellent

Report

10

himanshuxd

4 months ago

10 Tysm it works like a charm sublime_text and nemo both are blurry now.

Report

arcunoo

6 months ago

Hmm... Doesnt seem to work for me. I'm trying to blur Spotify and I've tried everything to make it work.... Any help?

Report

9

redstar6486

8 months ago

9 9 excellent

Report

10

nhoxsang2411994

8 months ago

10 10 the best

Report

aslan2142

8 months ago

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

Report

C

esjeon

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

8 months ago

thank you

Report

S2 10

l4k1

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

S2 10

l4k1

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

9 months ago

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

Report

S2 10

l4k1

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

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

S2 10

l4k1

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

12345678910
311
product-maker 20percentrendered Apr 08 2020 10 the best
It works a treat.
product-maker zinjanthr0pus Mar 24 2020 10 the best
Very well done script! Thanks for sharing it :)
product-maker cookiealice Mar 09 2020 10 the best
10 the best
product-maker migue Mar 01 2020 10 the best
10 the best
product-maker yasanthaparanamanna Feb 10 2020 10 the best
10 the best Perfect!!!
product-maker skylineone044 Feb 09 2020 10 the best
excellent
product-maker himanshuxd Dec 28 2019 10 the best
Tysm it works like a charm sublime_text and nemo both are blurry now.
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
csaratakij
May 24 2020
egomaniac
May 24 2020
migue
Mar 01 2020
Nano-Ocelot
Feb 29 2020
himanshuxd
Dec 28 2019
andryNoor
Oct 27 2019
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 pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
MIT License
version
0.5
updated May 14 2020
added Mar 14 2019
downloads 24h
272
mediaviews 24h 0
pageviews 24h 82