Skip to content

Commit

Permalink
Kiosk start script
Browse files Browse the repository at this point in the history
  • Loading branch information
FDelporte committed Sep 16, 2024
1 parent 3eef033 commit 861bc1b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
13 changes: 13 additions & 0 deletions JavaFXUserInterface/scripts/start-kiosk.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
export ENABLE_GLUON_COMMERCIAL_EXTENSIONS=true
java \
-Degl.displayid=/dev/dri/card0 \
-Dmonocle.egl.lib=/opt/javafx/lib/libgluon_drm-1.1.3.so \
-Djava.library.path=/opt/javafx-sdk/lib \
-Dmonocle.platform.traceConfig=false \
-Dprism.verbose=false \
-Djavafx.verbose=false \
-Dmonocle.platform=EGL \
--module-path .:/opt/javafx-sdk/lib \
--add-modules javafx.controls \
-jar drumbooth-0.0.2.jar $@
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ $ sudo apt install zulu22-jdk

```shell
$ sudo java -version

openjdk version "22.0.2" 2024-07-16
OpenJDK Runtime Environment Zulu22.32+15-CA (build 22.0.2+9)
OpenJDK 64-Bit Server VM Zulu22.32+15-CA (build 22.0.2+9, mixed mode, sharing)
```

* Download the JavaFX runtime
Expand Down

0 comments on commit 861bc1b

Please sign in to comment.