Debian specific; prefer x-terminal-emulator as terminal to run applications in.

Gbp-Pq: Name 2001_prefer-x-terminal-emulator.patch
This commit is contained in:
Mike Gabriel 2022-05-14 03:39:29 +08:00 committed by openKylinBot
parent 62bd203ce3
commit 72f074c9fd
1 changed files with 2 additions and 0 deletions

View File

@ -135,6 +135,8 @@ mate_desktop_prepend_terminal_to_vector (int *argc, char ***argv)
* as -e in mate-terminal is broken we use that. */
term_argv[1] = g_strdup ("-x");
} else {
if (check == NULL)
check = g_find_program_in_path ("x-terminal-emulator");
if (check == NULL)
check = g_find_program_in_path ("nxterm");
if (check == NULL)