Page 1 of 1

[Solved] Can't get file:/// to work anywhere

Posted: 26 Sep 2018, 22:23
by test45
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!

Can't get file:/// to work anywhere

Posted: 27 Sep 2018, 09:32
by RandomStranger
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?

Can't get file:/// to work anywhere

Posted: 27 Sep 2018, 10:09
by fanthom
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):

Code: Select all

run_command=hsetroot -fill /opt/wallpaper.png; sed -i 's/^rm -rf/#rm -rf/' /opt/scripts/screensaver-slideshow
You will still get 'server not accessible' notification but its harmless.

Thanks

Can't get file:/// to work anywhere

Posted: 27 Sep 2018, 22:53
by test45
That worked perfectly fanthom, thank you so much! :thumbsup: :thumbsup: :thumbsup: