%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/remmina/external_tools/
Upload File :
Create Path :
Current File : //usr/share/remmina/external_tools/launcher.sh

#!/bin/sh

####################
# Main Script
####################

TERMINALS="xfce4-terminal gnome-terminal x-terminal-emulator"

for t in $TERMINALS; do
  TERMBIN="$(command -v "$t")"
  if [ "$?" -eq 0 ]; then
    case "$t" in
      xfce4-terminal)
        TERMBIN="$TERMBIN --disable-server"
        break
        ;;
      gnome-terminal)
        break
        ;;
      x-terminal-emulator)
        break
        ;;
    esac
  fi
done

$TERMBIN -e "$1" &


Zerion Mini Shell 1.0