run.sh 953 Bytes
Newer Older
1
#!/bin/bash
petter's avatar
petter committed
2 3 4 5 6 7 8 9 10 11 12
PRG=`type $0`
PRG=${PRG##* }
# If PRG is a symlink, trace it to the real home directory
while [ -L "$PRG" ]
do
    newprg=$(ls -l ${PRG})
    newprg=${newprg##*-> }
    [ ${newprg} = ${newprg#/} ] && newprg=${PRG%/*}/${newprg}
    PRG="$newprg"
done
PRG=${PRG%/*}
13
echo Changing to application folder ${PRG}
petter's avatar
petter committed
14
cd ${PRG}
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
# Uncomment template to create desired setting
# cd linuxscripts
#
# # 4:3 format presentation on 720p (16:9) beamer
# # bash vncserver43.sh
# # bash beamer720p.sh # make sure to use the correct screen identifiers
#
# # 4:3 format presentation on XGA (4:3) beamer
# # bash vncserver43.sh
# # bash beamerXGA.sh # make sure to use the correct screen identifiers
#
# bash disable.sh # disable touch input
# cd ..

# adjust font and fontsize to your liking
LD_LIBRARY_PATH=linux64 java  -Dswing.plaf.metal.controlFont="DejaVu Sans Mono Book-20" -Xmx4096M -jar ttt.jar

# cd linuxscripts
# bash nativeResolution.sh
# cd ..

petter's avatar
petter committed
36
cd -