diff options
Diffstat (limited to 'bin/xvt')
-rwxr-xr-x | bin/xvt | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -30,6 +30,11 @@ if [[ -z "$TERMINAL" ]]; then TERMINAL=`gconftool -g /desktop/gnome/applications/terminal/exec` fi + # using MATE + if [[ -n "$MATE_DESKTOP_SESSION_ID" || x"$XDG_CURRENT_DESKTOP" = x"MATE" ]]; then + TERMINAL=`dconf read /org/mate/desktop/applications/terminal/exec | tr -d \'` + fi + #using KDE if [[ -n "$KDE_FULL_SESSION" ]]; then TERMINAL=`kreadconfig --file kdeglobals --group General --key TerminalApplication --default "konsole"` @@ -49,6 +54,7 @@ if [[ -z "$TERMINAL" ]]; then [[ -z "$TERMINAL" ]] && TERMINAL=`which aterm 2> /dev/null` [[ -z "$TERMINAL" ]] && TERMINAL=`which Eterm 2> /dev/null` [[ -z "$TERMINAL" ]] && TERMINAL=`which gnome-terminal 2> /dev/null` + [[ -z "$TERMINAL" ]] && TERMINAL=`which mate-terminal 2> /dev/null` [[ -z "$TERMINAL" ]] && TERMINAL=`which konsole 2> /dev/null` [[ -z "$TERMINAL" ]] && TERMINAL=`which kterm 2> /dev/null` [[ -z "$TERMINAL" ]] && TERMINAL=`which lxterminal 2> /dev/null` |