Commit cdfaef34 authored by Dr. Michael Petter's avatar Dr. Michael Petter

more complex linux scripting and version bump

parent fe6a5c19
Pipeline #1750 passed with stage
in 16 seconds
/bin/
/dist/
/test/
*.zip
*.exe
\ No newline at end of file
......@@ -105,7 +105,7 @@ import ttt.record.LectureProfileDialog;
import ttt.record.Recording;
public class TTT extends JFrame {
static final String version = "08.04.2019";
static final String version = "11.04.2019";
public static boolean debug = !true;
public static boolean verbose = true;
......@@ -1197,9 +1197,6 @@ public class TTT extends JFrame {
}
public void showTTT() {
Font f = new Font("sans-serif", Font.PLAIN, 12);
UIManager.put("Menu.font", f);
UIManager.put("MenuItem.font", f);
// show and maximize frame
if (!isVisible()) {
// set size (if user de-maximizes)
......
#!/bin/bash
xrandr --output eDP-1 --mode 1024x768
xrandr --output eDP-1 --mode 1400x1050 --pos 0x0
xrandr --output DP-1 --mode 1024x768 --pos 0x0 --scale-from 1400x1050
input=`xinput | grep "Pen stylus" | cut -f2 | cut -f2 -d=`
xsetwacom --set $input Area 3800 0 25800 16524
\ No newline at end of file
#!/bin/bash
xrandr --output eDP-1 --mode 1920x1080
input=`xinput | grep "Pen stylus" | cut -f2 | cut -f2 -d=`
# reset to whatever xsetwacom --get $input Area said
xsetwacom --set $input Area 0 0 30000 16524
\ No newline at end of file
......@@ -10,14 +10,27 @@ do
PRG="$newprg"
done
PRG=${PRG%/*}
echo Changing to application folder is ${PRG}
echo Changing to application folder ${PRG}
cd ${PRG}
MACHINE_TYPE=`uname -m`
if [ ${MACHINE_TYPE} == 'x86_64' ]; then
echo Executing 64 bit version
LD_LIBRARY_PATH=linux64 java -Xmx4096M -jar ttt.jar
else
echo Executing 32 bit version
LD_LIBRARY_PATH=linux32 java -Xmx1024M -jar ttt.jar
fi
# 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 ..
cd -
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment