Commit cdfaef34 authored by Administrator's avatar Administrator
Browse files

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; ...@@ -105,7 +105,7 @@ import ttt.record.LectureProfileDialog;
import ttt.record.Recording; import ttt.record.Recording;
public class TTT extends JFrame { 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 debug = !true;
public static boolean verbose = true; public static boolean verbose = true;
...@@ -1197,9 +1197,6 @@ public class TTT extends JFrame { ...@@ -1197,9 +1197,6 @@ public class TTT extends JFrame {
} }
public void showTTT() { 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 // show and maximize frame
if (!isVisible()) { if (!isVisible()) {
// set size (if user de-maximizes) // 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 ...@@ -10,14 +10,27 @@ do
PRG="$newprg" PRG="$newprg"
done done
PRG=${PRG%/*} PRG=${PRG%/*}
echo Changing to application folder is ${PRG} echo Changing to application folder ${PRG}
cd ${PRG} cd ${PRG}
MACHINE_TYPE=`uname -m` # Uncomment template to create desired setting
if [ ${MACHINE_TYPE} == 'x86_64' ]; then # cd linuxscripts
echo Executing 64 bit version #
LD_LIBRARY_PATH=linux64 java -Xmx4096M -jar ttt.jar # # 4:3 format presentation on 720p (16:9) beamer
else # # bash vncserver43.sh
echo Executing 32 bit version # # bash beamer720p.sh # make sure to use the correct screen identifiers
LD_LIBRARY_PATH=linux32 java -Xmx1024M -jar ttt.jar #
fi # # 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 - 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