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

does not working with gnome gnome 3.32 #18

Closed taurthil closed 5 years ago

taurthil commented 5 years ago

The extension show popup Couldn't start tilix, is it installed?

busser commented 5 years ago

I can confirm this is an issue.

The error message seems to come from the _startTilix function.

Running the env GDK_BACKEND=x11 tilix --quake command directly from a terminal or in GNOME has the expected behavior: toggling a Tilix window in Quake mode.

I guess the problem is that _startTilix's call to imports.ui.main.Util.trySpawnCommandLine throws an exception only in GNOME 3.32. Further debugging could shed light on what the exception in question is.

In the meantime, it is possible to use native GNOME configuration options to replicate the Tilix Dropdown extension's behavior:

  1. Open GNOME Settings.
  2. Go to Devices > Keyboard.
  3. Scroll down and click on +.
  4. Give the new shortcut a name (e.g. Tilix Quake).
  5. As a command, write env GDK_BACKEND=x11 tilix --quake.
  6. Click on Set Shortcut and set whatever key binding you want (e.g. F10).

    If you want to use the same key binding as the Tilix Dropdown extension, you need to uninstall the extension or configure it to use another keybinding.

  7. Click on Add.

I don't know if the extension adds additional behavior that cannot be replicated only with GNOME configuration. If it does, then it would be nice if the code was patched to manage GNOME 3.32's apparently new behavior.

taurthil commented 5 years ago

I prepare Pull Request #19 problem is in Main.Util.