Hi there,
I love Porteus Kiosk! I am using it for a book search at a college library.
It works great, except I don't have anywhere to store files on a website, so I have to include the screensaver and desktop background files locally.
I have followed all the advice here, and eventually, I created a customimages.xzm that adds "kiosk-photos.zip" and "back.jpg" to /tmp/photos.
I also tried /opt/photos and /var/photos.
Then in the kiosk-config I point the screensaver and wallpaper parameters to file:///tmp/photos/kiosk-photos.zip and file:///tmp/photos/back.jpg
When the kiosk loads it always says it cannot find these files on the server.
What am I doing wrong?
Also, I can't ssh into these machines after installing a custom iso, so checking things will be difficult.
Thank you for any help!
[Solved] Can't get file:/// to work anywhere
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
[Solved] Can't get file:/// to work anywhere
Last edited by test45 on 27 Sep 2018, 22:53, edited 1 time in total.
-
- White ninja
- Posts: 19
- Joined: 25 Sep 2018, 15:23
- Distribution: Kiosk
Can't get file:/// to work anywhere
Have you tried browsing to file:///tmp/photos/back.jpg through the browser you have installed on the device?
And what you do you mean when the kiosk loads? During the installation or each reboot? did you include the customimages.xzm in your ISO when you installed it?
And what you do you mean when the kiosk loads? During the installation or each reboot? did you include the customimages.xzm in your ISO when you installed it?
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Can't get file:/// to work anywhere
Hello test45,
Local files are not supported but as a workaround you could unpack your screensaver images directly to /usr/share/screensaver and then use this parameter (first part sets the wallpaper so please change the path to match yours):
You will still get 'server not accessible' notification but its harmless.
Thanks
Local files are not supported but as a workaround you could unpack your screensaver images directly to /usr/share/screensaver and then use this parameter (first part sets the wallpaper so please change the path to match yours):
Code: Select all
run_command=hsetroot -fill /opt/wallpaper.png; sed -i 's/^rm -rf/#rm -rf/' /opt/scripts/screensaver-slideshow
Thanks
Please add [Solved] to your thread title if the solution was found.
Can't get file:/// to work anywhere
That worked perfectly fanthom, thank you so much!