gio: add xdg-terminal-exec as a known terminal

Allow users to select their terminal of choice by using the
xdg-terminal-exec wrapper.

It is a temporary temporary solution while waiting for the
xdg-default-apps specification
(https://gitlab.freedesktop.org/xdg/xdg-specs/-/issues/54), in
accordance with this comment:
https://gitlab.gnome.org/GNOME/glib/-/issues/338#note_1076172
This commit is contained in:
Max Gautier 2022-07-23 22:00:53 +02:00 committed by Marco Trevisan (Treviño)
parent b64347d279
commit 22e1b9bcc0

View File

@ -2637,6 +2637,7 @@ prepend_terminal_to_vector (int *argc,
const char *exec;
const char *exec_arg;
} known_terminals[] = {
{ "xdg-terminal-exec", NULL },
{ "gnome-terminal", "--" },
{ "mate-terminal", "-x" },
{ "xfce4-terminal", "-x" },