You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to add a transparent blur to the background  #116
The closest thing I can think of is in the preferences window there's an option to shade the transparent background. I don't know whether GTK or VTE supports a blurring effect. If you have any ideas on how to do that I'd love to hear that.
Transparency blurs are really cool, how can I get my terminator client to add a variable blur so I can't quite make out the background?
being more specific is good - are you requesting individual terminal blur, independent off global one?
otherwise workaround would be 2 profiles with different global transparency levels and switching between them...
I would like to implement this but don't really know where to start:
I found draw_background() in terminal.py but this seems only to be for the background image. Debug messages also aren't printed inside this function and breakpoints don't work which makes it really hard to debug. Help is appreciated :)
The background_draw() code draws the background image on top of the background RGBA object. To blur, you would add another layer similar to draw_background that would just add the blur layer on top of the image, or the transparent background.
On debugging, I assure you, debug messages work, hit me up on matrix and I'll talk you through it.
Activity
mattrose commentedon Jun 3, 2020
The closest thing I can think of is in the preferences window there's an option to shade the transparent background. I don't know whether GTK or VTE supports a blurring effect. If you have any ideas on how to do that I'd love to hear that.
br0kenbuild commentedon Jul 20, 2020
being more specific is good - are you requesting individual terminal blur, independent off global one?
otherwise workaround would be 2 profiles with different global transparency levels and switching between them...
mayconritzmann commentedon Apr 8, 2021
This would really be an interesting feature, KDE Konsole implements this natively
mattrose commentedon Apr 8, 2021
theoretically it would be just adding another blur layer to the background. PRs are welcome
mattrose commentedon Dec 10, 2021
pycairo blur effect example code https://www.cairographics.org/cookbook/pythoncairopil/
CodingWithAnxiety commentedon Apr 27, 2023
Any update to this?
haasal commentedon Sep 22, 2023
I would like to implement this but don't really know where to start:
I found
draw_background()interminal.pybut this seems only to be for the background image. Debug messages also aren't printed inside this function and breakpoints don't work which makes it really hard to debug. Help is appreciated :)mattrose commentedon Oct 2, 2023
The background image is actually some good code to draw from. The normal background is just a GTK RGBA object, so most of the work is done for us, including transparency. The code for that is around here: https://github.com/gnome-terminator/terminator/blob/6d225c7aee3d42e37acac67629f7b321b7a4889b/terminatorlib/terminal.py#L747C1-L750C35
The
background_draw()code draws the background image on top of the background RGBA object. To blur, you would add another layer similar to draw_background that would just add the blur layer on top of the image, or the transparent background.On debugging, I assure you, debug messages work, hit me up on matrix and I'll talk you through it.