diff options
author | Frederic Crozat <fcrozat@mandriva.com> | 2009-03-03 17:08:24 +0000 |
---|---|---|
committer | Frederic Crozat <fcrozat@mandriva.com> | 2009-03-03 17:08:24 +0000 |
commit | d248ac7744b515990ab32fc51e8146decda186af (patch) | |
tree | c68a366fcda142d342ae76c14e112a0f00b11990 /bin | |
parent | 584ba0f4b6211bbaf5dc849885e2bf2052baf036 (diff) | |
download | common-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-x | bin/xvt | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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` |