From 037d5a646b4188df319789f237a9c96a901d4bf0 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Mon, 15 Mar 2010 16:54:17 +0000 Subject: start konsole as nofork --- bin/xvt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin/xvt') diff --git a/bin/xvt b/bin/xvt index b0215bf..2190461 100755 --- a/bin/xvt +++ b/bin/xvt @@ -55,6 +55,11 @@ if [[ -z "$TERMINAL" ]]; then fi if [[ -n "$TERMINAL" ]]; then + # keep the same behaviour between all terminals + if [[ "`basename ${TERMINAL%% *}`" = "konsole" ]]; then + TERMINAL="$TERMINAL --nofork" + fi + exec $TERMINAL "$@" else echo "no terminal emulator detected" -- cgit v1.2.1