gdesktopappinfo: 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
This commit is contained in:
Jeremy Bicha 2022-03-23 14:40:16 -04:00 committed by su-fang
parent bd07999ea2
commit 5a86d7bba1
1 changed files with 2 additions and 0 deletions

View File

@ -2676,6 +2676,8 @@ prepend_terminal_to_vector (int *argc,
}
else
{
if (check == NULL)
check = g_find_program_in_path ("kgx");
if (check == NULL)
check = g_find_program_in_path ("tilix");
if (check == NULL)