Skip to content

How to add a transparent blur to the background  #116

Open

Description

@arshbot

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?

Activity

  1. mattrose commented on Jun 3, 2020

    @mattrose
    Member

    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.

  2. br0kenbuild commented on Jul 20, 2020

    @br0kenbuild
    Contributor

    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...

  3. mayconritzmann commented on Apr 8, 2021

    @mayconritzmann

    This would really be an interesting feature, KDE Konsole implements this natively

  4. mattrose commented on Apr 8, 2021

    @mattrose
    Member

    theoretically it would be just adding another blur layer to the background. PRs are welcome

  5. mattrose commented on Dec 10, 2021

    @mattrose
    Member
  6. CodingWithAnxiety commented on Apr 27, 2023

    @CodingWithAnxiety

    Any update to this?

  7. haasal commented on Sep 22, 2023

    @haasal

    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 :)

  8. mattrose commented on Oct 2, 2023

    @mattrose
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions