aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2009-03-03 17:08:24 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2009-03-03 17:08:24 +0000
commitd248ac7744b515990ab32fc51e8146decda186af (patch)
treec68a366fcda142d342ae76c14e112a0f00b11990 /bin
parent584ba0f4b6211bbaf5dc849885e2bf2052baf036 (diff)
downloadcommon-data-d248ac7744b515990ab32fc51e8146decda186af.tar
common-data-d248ac7744b515990ab32fc51e8146decda186af.tar.gz
common-data-d248ac7744b515990ab32fc51e8146decda186af.tar.bz2
common-data-d248ac7744b515990ab32fc51e8146decda186af.tar.xz
common-data-d248ac7744b515990ab32fc51e8146decda186af.zip
- Add support for lxterminal
Diffstat (limited to 'bin')
-rwxr-xr-xbin/xvt5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/xvt b/bin/xvt
index 07888a6..25edde8 100755
--- a/bin/xvt
+++ b/bin/xvt
@@ -40,12 +40,17 @@ if [[ -z "$TERMINAL" ]]; then
[[ -z "$TERMINAL" ]] && which konsole 2> /dev/null && TERMINAL="konsole"
fi
+ if [[ -n "$_LXSESSION_PID" ]]; then
+ [[ -z "$TERMINAL" ]] && TERMINAL=`which lxterminal 2> /dev/null`
+ fi
+
strip_terminal_var
[[ -z "$TERMINAL" ]] && TERMINAL=`which rxvt 2> /dev/null`
[[ -z "$TERMINAL" ]] && TERMINAL=`which xterm 2> /dev/null`
[[ -z "$TERMINAL" ]] && TERMINAL=`which gnome-terminal 2> /dev/null`
[[ -z "$TERMINAL" ]] && TERMINAL=`which konsole 2> /dev/null`
+ [[ -z "$TERMINAL" ]] && TERMINAL=`which lxterminal 2> /dev/null`
[[ -z "$TERMINAL" ]] && TERMINAL=`which aterm 2> /dev/null`
[[ -z "$TERMINAL" ]] && TERMINAL=`which Eterm 2> /dev/null`
[[ -z "$TERMINAL" ]] && TERMINAL=`which kterm 2> /dev/null`