#!/bin/sh
#
# $Revision: 1.3 $ $Date: 2012-07-26 16:34:59-04 $
# $Source: /home/vogelke/bin/RCS/gt,v $
# $Host: sys7.com $
# $UUID: 7fa0d100-da08-3f10-8222-6aa3edf27ad9 $
#
#<gt: start a new gnome-terminal session (AKA gthuge, gtgiant).
# to install: for x in gtgiant gthuge; do ln gt $x; done

PATH=/bin:/usr/bin:/usr/openwin/bin:/usr/local/bin; export PATH
h=unix
DISPLAY="$h:0.0"; export DISPLAY

# fix keyboard.
test -f $HOME/.xmodmaprc && xmodmap $HOME/.xmodmaprc &
test -f $HOME/.Xdefaults && xrdb -merge $HOME/.Xdefaults &

# Start GNOME terminal on the right; using "+0+0" is for the left side.
case "`basename $0`" in
    gt)      pro=KEV;   geom='--geometry=80x49-0+0' ;;
    gthuge)  pro=Huge;  geom='--geometry=80x41-0+0' ;;
    gtgiant) pro=Giant; geom='--geometry=80x37-0+0' ;;
esac

exec gnome-terminal --window-with-profile=$pro $geom &
exit 1
