Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaFX: add description how to start application without the regular window manager #5

Open
FDelporte opened this issue Mar 18, 2021 · 2 comments

Comments

@FDelporte
Copy link
Member

Describe how a JavaFX application can be started without the "full desktop" so the app is running in kiosk mode and it isn't possible to start other applications.

@pavly-gerges
Copy link
Contributor

This may require a system interaction (making the jar auto-start + disabling desktop shortcuts + disable raspiOS panel), i have made something similar to that (using a bash script) but on an amd64 machine running ParrotOS :

  1. Opening the system : https://www.youtube.com/watch?v=qsdMObVwlx0&t=52s
  2. Auto-start in immersion mode : https://youtu.be/HcerZ-8IWSo

I hope it would be achievable to rebuild this script for the pi.

@pavly-gerges
Copy link
Contributor

pavly-gerges commented Apr 21, 2022

@FDelporte I am currently working on this issue, take a look at the code :
https://github.com/Software-Hardware-Codesign/Pi-Kiosk

I am planning to migrate the code to C instead of shell and to add the ability to connect to wireless interfaces from a custom script.

The current script features :

  1. Disable Raspbian LXDE-Panel (enables desktop fullscreen mode).
  2. Disable LXDE-Keybindings (keycombo).
  3. Trigger an auto start script that can run another script, jfx application in fullscreen mode, swing app or even jMonkeyEngine game.

This script has a benefit that it cannot only trigger a jfx app on the autostart, but also any app even command line interface apps.

Let me know your opinion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants