diff --git a/etc/terminal-run b/etc/terminal-run index d9f0cb4ca0..c345f1032d 100755 --- a/etc/terminal-run +++ b/etc/terminal-run @@ -111,6 +111,7 @@ elif [ "$choice" == kitty ];then elif [ "$choice" == kgx ];then #kgs stays open after command execution, so add command to kill it - see https://gitlab.gnome.org/GNOME/console/-/issues/135 commands+=$'\n''kill $(ps -p $$ -o ppid=)' + #kgx windows communicate on dbus to share 1 pid, so disable dbus to get a unique pid to kill DBUS_SESSION_BUS_ADDRESS='' kgx -- bash -c "$commands" & else