Tilix: Make fade-in/out animation of Quake mode optional

Created on 17 Sep 2016  路  5Comments  路  Source: gnunn1/tilix

It would be really nice if I could disable the Quake animations, as I find them a bit annoying and they slow me down from getting quickly to a terminal then closing it.

enhancement question

Most helpful comment

Could this ticket be re-opened since the feature was removed?

All 5 comments

The fade in/out of the whole window is controlled by you desktop environment. If you're running Ubuntu/Unity you can install compizconfig-settings-manager and use the Animations settings to stop the animations for Terminix.

To do this, add !(class=Terminix) & to the start of the the Window Match for the "Glide 2" Close Effect for both the Open Animation and Close Animation.
selection_001
Note that this will also remove the animations from the normal Terminix windows, not just the Quake mode window.

@danielkza Unfortunately I don't think there is anything I can do about this since as @alexwhitman points out it's really the window manager that manages this.

The WM does manage it, but it's possible to tell it to prefer not to. The following change does the job for me using GNOME Shell 3.20.4.

diff --git a/source/gx/terminix/appwindow.d b/source/gx/terminix/appwindow.d
index 60671e4..6cece48 100644
--- a/source/gx/terminix/appwindow.d
+++ b/source/gx/terminix/appwindow.d
@@ -1113,7 +1113,7 @@ public:
             setDecorated(false);
             setGravity(GdkGravity.STATIC);
             setKeepAbove(true);
-            setTypeHint(GdkWindowTypeHint.NORMAL);
+            setTypeHint(GdkWindowTypeHint.UTILITY);
             setSkipTaskbarHint(true);
             setSkipPagerHint(true);
             applyPreference(SETTINGS_QUAKE_HEIGHT_PERCENT_KEY);

Thanks for the tip, I'll test it out and add an option for it.

Could this ticket be re-opened since the feature was removed?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pkkid picture pkkid  路  3Comments

lucascosti picture lucascosti  路  3Comments

iax7 picture iax7  路  4Comments

gregflynn picture gregflynn  路  4Comments

huti26 picture huti26  路  3Comments