From 861bc1b8071d7cb6c7ae27d8eb36ff44918e21ca Mon Sep 17 00:00:00 2001 From: Frank Delporte Date: Mon, 16 Sep 2024 14:41:38 +0200 Subject: [PATCH] Kiosk start script --- JavaFXUserInterface/scripts/start-kiosk.sh | 13 +++++++++++++ README.md | 4 +++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 JavaFXUserInterface/scripts/start-kiosk.sh diff --git a/JavaFXUserInterface/scripts/start-kiosk.sh b/JavaFXUserInterface/scripts/start-kiosk.sh new file mode 100644 index 0000000..70c13a0 --- /dev/null +++ b/JavaFXUserInterface/scripts/start-kiosk.sh @@ -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 $@ diff --git a/README.md b/README.md index f460f8d..ae765b3 100644 --- a/README.md +++ b/README.md @@ -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