ivoarch / gnome-shell-TilixDropdown

A GNOME Shell extension to launch Tilix in Quake Mode .
GNU General Public License v2.0
33 stars 14 forks source link

Tilix dropdown mode disabled on wayland #16

Closed m-a-r-c-o closed 6 years ago

m-a-r-c-o commented 6 years ago

Unfortunately the dropdown mode was removed for tilix running under wayland. See:

https://github.com/gnunn1/tilix/issues/1314

I solved the problem on my System (Fedora 28 under wayland) by adding the following env setup to the tilix call in the extension code:

function _startTilix() {
    try {
        Main.Util.trySpawnCommandLine('env GDK_BACKEND=x11 tilix --quake');
    } catch(err) {
        Main.notify("Couldn't start tilix, is it installed?");
    }
}

This should also work if running under x11.

@ivoarch would you consider this change for inclusion?

ivoarch commented 6 years ago

Fixed Thanks!!

m-a-r-c-o commented 6 years ago

Great. Thanks!