Skip to content

Add patch to recognize GNOME Console as a terminal app

GNOME Console (installed as /usr/bin/kgx ) is the default GNOME terminal app as of GNOME 42

Related to: https://gitlab.gnome.org/GNOME/glib/-/issues/338

But see https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/46 for a more comprehensive way of handling issues around the default terminal app

Discussion

This looks unlikely to be accepted upstream. The uncomfortableness of things not fully working right with GNOME Console as the default terminal is supposed to encourage the proposed XDG spec to finally be implemented. That would be wonderful but meanwhile, something like this seems at least a little better for our users now.

We could also do this with the Debian alternatives x-terminal-emulator but that's a Debianism and something more cross-distro felt better to me.

Test Case

  1. Figure out some way to either uninstall gnome-terminal or maybe temporarily rename /usr/bin/gnome-terminal
  2. sudo apt install gnome-console mc
  3. Log out then log back in
  4. From the Activities Overview, run Midnight Commander. GNOME Console should run Midnight Commander. You can check the About dialog to confirm.

Merge request reports