Skip to content

Commit

Permalink
comment dbus trick
Browse files Browse the repository at this point in the history
  • Loading branch information
Botspot authored Apr 6, 2024
1 parent 5589ab1 commit a0396a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etc/terminal-run
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a0396a8

Please sign in to comment.