aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/xvt5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/xvt b/bin/xvt
index efa7882..ad1ca1b 100755
--- a/bin/xvt
+++ b/bin/xvt
@@ -39,6 +39,11 @@ if [[ -z "$TERMINAL" ]]; then
[[ -z "$TERMINAL" ]] && TERMINAL=`which lxterminal 2> /dev/null`
fi
+ #using Xfce
+ if [[ x"$XDG_CURRENT_DESKTOP" = x"XFCE" ]]; then
+ [[ -z "$TERMINAL" ]] && TERMINAL=`sed -n -e 's,^TerminalEmulator=\(.*\),\1,p' $HOME/.config/xfce4/helpers.rc 2> /dev/null`
+ fi
+
strip_terminal_var
[[ -z "$TERMINAL" ]] && TERMINAL=`which aterm 2> /dev/null`