#!/bin/sh

export PATH=$PATH:/home/tconnors/bin

if [ `xdpyinfo | sed -n 's!.*dimensions: *\([^x]*\)x.*!\1!p'` -ge 1280 ] ; then
	xterm -ls -rv -geometry 165x28 &
#	xterm -ls -rv &
#	dummy=$!
#	icu &
	sleep 2
	xterm -rv -e ssh -l tcon suphys.physics.usyd.edu.au &
	xterm -rv -e ssh -l con220 -C venice.atnf.csiro.au &
	sleep 1
	xterm -ls -rv -geometry 54x14-2-2 &
#	kill $dummy
fi


if [ "$DISPLAY" = :0.0 ] ; then
#    xv -rmode 5 -quit -root "/home/tconnors/AV/myphotos/parkes/spotlight that is powerful to light up the moon. Ok, maybe not.jpg" &
    penguineyes &
    /home/tconnors/bin/xbiffrestart.sh
    xkbvleds -geometry 64x20+820-1 &
    newxclocklocal
    newxbattlocal
    nice updatebackground.sh &   #dont want this running on the 8 bit terminal, because it steals too many colors
    icu &
fi
/usr/local/bin/speckeys/runteststart
