I'm writing a fancy touchscreen app that will run on a tablet running Ubuntu 20.04 x64. The tablet is dedicated to running the app, nothing else is of importance. I'm interested in the easiest way to get my app to run in "kiosk mode".
So things like:
- At startup, boot straight into my app in fullscreen mode, without login
- If possible, don't show any desktop even for a fraction of a second. There shouldn't be the concept of a desktop.
- On app crash, auto-restart the app
- Disable all screensavers and locks
- When the system is powered on, I'd like to show a custom splash screen during boot with the app's logo, not the Ubuntu boot sequence.
- Prevent user from closing the app (it's a tablet, but it has a USB port so someone could plug in a keyboard and press Alt+F4)
I can hack together solutions to all of these (systemd service/unit file, disabling USB in kernel boot flag, etc), the ones I have no clue about being #2. I'm just wondering if there's a smarter solution designed for this problem that I should be using to do what I want, instead of doing 6 different things manually.
Bookmarks