Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ttt
Teleteaching Standalone
Commits
cdfaef34
Commit
cdfaef34
authored
Apr 11, 2019
by
Administrator
Browse files
more complex linux scripting and version bump
parent
fe6a5c19
Pipeline
#1750
passed with stage
in 16 seconds
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitignore
0 → 100644
View file @
cdfaef34
/bin/
/dist/
/test/
*.zip
*.exe
\ No newline at end of file
java/ttt/TTT.java
View file @
cdfaef34
...
...
@@ -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)
...
...
linuxscripts/beamer.sh
→
linuxscripts/beamer
720p
.sh
View file @
cdfaef34
File moved
linuxscripts/beamerXGA.sh
0 → 100644
View file @
cdfaef34
#!/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
linuxscripts/nativeResolution.sh
0 → 100644
View file @
cdfaef34
#!/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
linuxscripts/
169/
vncserver.sh
→
linuxscripts/vncserver
169
.sh
View file @
cdfaef34
File moved
linuxscripts/
43/
vncserver.sh
→
linuxscripts/vncserver
43
.sh
View file @
cdfaef34
File moved
run.sh
View file @
cdfaef34
...
...
@@ -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
-
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment