From 3609d4ec2699990ed836fa3c8b2692cbfbf2fd98 Mon Sep 17 00:00:00 2001 From: JakeIsMeh Date: Sat, 3 Sep 2022 18:52:51 +0800 Subject: [PATCH] Handle GNOME Terminal quirk --- src/file_item.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/file_item.vala b/src/file_item.vala index 4138a82..b4917b5 100644 --- a/src/file_item.vala +++ b/src/file_item.vala @@ -228,7 +228,8 @@ public class FileItem : DesktopItem { string[] args = { preferred_terminal }; // Add our preferred terminal as first arg // alacritty supports -e, --working-directory WITHOUT equal - // gnome-terminal supports --tab and --working-directory (no -w) WITH equal, but not -e + // gnome-terminal supports --working-directory (no -w) WITH equal, but not -e + // --tab is used for specifying tabs in a new window // mate-terminal supports --tab and -e, --working-directory (no -w) WITH equal // konsole supports --new-tab and -e, --workdir WITHOUT equal // kitty supports --directory WITH equal @@ -237,7 +238,6 @@ public class FileItem : DesktopItem { switch (preferred_terminal) { // Terminals that use --tab - case "gnome-terminal": case "mate-terminal": case "xfce4-terminal": args += "--tab";