[GH-ISSUE #33] Auto-generated splash screen with a QR code that goes to the management interface with the hostname #33

Closed
opened 2026-03-03 11:13:32 +03:00 by kerem · 9 comments
Owner

Originally created by @andiohn on GitHub (Oct 2, 2024).
Original GitHub issue: https://github.com/debloper/xiosk/issues/33

Theoretically this should be easy because we could simply replace the splash from plymouth with this new generated one. Do it once on install, and you could even prompt in the installer script for a 'support link' and if it has a valid web address, put that side by side.

Piosk is booting, please wait.

To manage the configuration: If this screen is displayed for longer than 20 minutes, please contact support here:
QR QR

http://www.linux-magazine.com/Online/Features/Generating-QR-Codes-in-Linux
https://forum.puppylinux.com/viewtopic.php?t=9961

Originally created by @andiohn on GitHub (Oct 2, 2024). Original GitHub issue: https://github.com/debloper/xiosk/issues/33 Theoretically this should be easy because we could simply replace the splash from plymouth with this new generated one. Do it once on install, and you could even prompt in the installer script for a 'support link' and if it has a valid web address, put that side by side. Piosk is booting, please wait. To manage the configuration: If this screen is displayed for longer than 20 minutes, please contact support here: QR QR http://www.linux-magazine.com/Online/Features/Generating-QR-Codes-in-Linux https://forum.puppylinux.com/viewtopic.php?t=9961
kerem 2026-03-03 11:13:32 +03:00
  • closed this issue
  • added the
    wontfix
    label
Author
Owner

@andiohn commented on GitHub (Oct 2, 2024):

Splash screen is located here:
/usr/share/plymouth/themes/pix/splash.png

So replacing it with another one is trivial.

<!-- gh-comment-id:2389716968 --> @andiohn commented on GitHub (Oct 2, 2024): Splash screen is located here: /usr/share/plymouth/themes/pix/splash.png So replacing it with another one is trivial.
Author
Owner

@andiohn commented on GitHub (Oct 2, 2024):

Then to rebuild it so it shows:
sudo plymouth-set-default-theme --rebuild-initrd pix

<!-- gh-comment-id:2389718199 --> @andiohn commented on GitHub (Oct 2, 2024): Then to rebuild it so it shows: sudo plymouth-set-default-theme --rebuild-initrd pix
Author
Owner

@andiohn commented on GitHub (Oct 2, 2024):

Also, rpi-update would apply it too.

<!-- gh-comment-id:2389718733 --> @andiohn commented on GitHub (Oct 2, 2024): Also, rpi-update would apply it too.
Author
Owner

@andiohn commented on GitHub (Oct 2, 2024):

Also I followed some of this to make the boot up look better:
https://scribles.net/customizing-boot-up-screen-on-raspberry-pi/#:~:text=Remove%20text%20message%20under%20splash,script%E2%80%9D%20as%20root.&text=Then%2C%20remove%20(or%20comment%20out,message_sprite%20%3D%20Sprite()%3B%20message_sprite.

I didn't do the message sprite though, that's useful.

<!-- gh-comment-id:2389721369 --> @andiohn commented on GitHub (Oct 2, 2024): Also I followed some of this to make the boot up look better: https://scribles.net/customizing-boot-up-screen-on-raspberry-pi/#:~:text=Remove%20text%20message%20under%20splash,script%E2%80%9D%20as%20root.&text=Then%2C%20remove%20(or%20comment%20out,message_sprite%20%3D%20Sprite()%3B%20message_sprite. I didn't do the message sprite though, that's useful.
Author
Owner

@andiohn commented on GitHub (Oct 2, 2024):

On device QR code generation is this html5 thing too: https://github.com/six-two/qr.html

<!-- gh-comment-id:2389728581 --> @andiohn commented on GitHub (Oct 2, 2024): On device QR code generation is this html5 thing too: https://github.com/six-two/qr.html
Author
Owner

@andiohn commented on GitHub (Oct 2, 2024):

Here's a demo of having it pre-filled out. https://qr.15c.me/qr.html#Hello,%20world!%F0%9F%8E%89

<!-- gh-comment-id:2389792668 --> @andiohn commented on GitHub (Oct 2, 2024): Here's a demo of having it pre-filled out. https://qr.15c.me/qr.html#Hello,%20world!%F0%9F%8E%89
Author
Owner

@andiohn commented on GitHub (Oct 2, 2024):

image

<!-- gh-comment-id:2389800324 --> @andiohn commented on GitHub (Oct 2, 2024): ![image](https://github.com/user-attachments/assets/45947d48-6cf0-4c29-88c0-ad7e582a8f83)
Author
Owner

@debloper commented on GitHub (Oct 7, 2024):

Theoretically this should be easy

Level of difficulty is almost never the main holdback. The tradeoff between utility & side effects are.

This is a security nightmare. As the dashboard doesn't have authentication, any bystander can scan the QR code while it's booting/rebooting, visit the dashboard & CRUD the page list to show whatever they want to.

The users are absolutely free to create a QR code splash screen like this:

cd /usr/share/plymouth/themes/pix/
sudo mv splash.png splash.png.bak
qrencode "http://$(hostname)/" -o splash.png

(or follow the guides you've linked) at their own personal discretion, acknowledging the risk.

<!-- gh-comment-id:2397545304 --> @debloper commented on GitHub (Oct 7, 2024): > Theoretically this should be easy Level of difficulty is almost never the main holdback. The tradeoff between utility & side effects are. This is a security nightmare. As the dashboard doesn't have authentication, any bystander can scan the QR code while it's booting/rebooting, visit the dashboard & CRUD the page list to show whatever they want to. The users are absolutely free to create a QR code splash screen like this: ```bash cd /usr/share/plymouth/themes/pix/ sudo mv splash.png splash.png.bak qrencode "http://$(hostname)/" -o splash.png ``` (or follow the guides you've linked) at their own personal discretion, acknowledging the risk.
Author
Owner

@andiohn commented on GitHub (Oct 9, 2024):

For sure, good point!

<!-- gh-comment-id:2401025327 --> @andiohn commented on GitHub (Oct 9, 2024): For sure, good point!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/xiosk#33
No description provided.