Skip to content

Commit

Permalink
Fixes #2499. Changes the option from -x to -- when using gnome-terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
icarter09 authored and mtwebster committed Nov 25, 2020
1 parent 95740d1 commit a2f15e0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions eel/eel-gnome-extensions.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,10 @@ prepend_terminal_to_command_line (const char *command_line)
check = g_find_program_in_path ("gnome-terminal");
if (check != NULL) {
/* Note that gnome-terminal takes -x and
* as -e in gnome-terminal is broken we use that. */
prefix = g_strdup_printf ("gnome-terminal -x");
* as -e in gnome-terminal is broken we use that.
20201114 - There looks to be an issue with -x now with gnome-terminal
and -- is now the recommended option */
prefix = g_strdup_printf ("gnome-terminal --");
} else {
check = g_find_program_in_path ("nxterm");

Expand Down

0 comments on commit a2f15e0

Please sign in to comment.