Page 1 of 1

Kiosk set MIMEType handling

Posted: 10 Mar 2016, 12:09
by pandason
I'm hoping this doesn't requier a "modification to the Kiosk ISO", but as it isn't really a bug I didn't think it was fair to post it there.

For a little background; users of our kiosks need to be able to view files hosted on an external webpage. These are PDF files, but unfortunately something seems to be wrong with how the MIMEtype of the file is defined as firefox doesn't realise it's a PDF and so doesn't know what to do with it. This is what it shows when I open within the desktop edition;

Image

If (on the desktop edition) I set "Open with" and select /usr/bin/firefox and click "Do this automagically" then it happily opens in Firefox;

Image

This results in a row being added to the applications list in the preferences;

Image

As far as I'm aware, this is saved in the Firefox profile within 'mimeTypes.rdf'.

What I'd like to know is if there is any way of setting this on the kiosk through the about:config parameter, or will it require editting one of the modules we use to build the kiosk?

Thanks for your help.

Re: Kiosk set MIMEType handling

Posted: 10 Mar 2016, 12:30
by fanthom
You could try inline disposition addon (check it under Desktop first):
https://addons.mozilla.org/en-US/firefo ... sposition/

If it wont work then modification to mimeTypes.rdf will be required as file associations are not handled by about:config preferences as far as i'm aware.

Thanks.

Re: Kiosk set MIMEType handling

Posted: 10 Mar 2016, 16:00
by pandason
Thanks for your response. Sadly that addon doesn't seem to work so I will have to resort to updating the module. I was hoping to avoid having to visit each of the kiosks to reinstall :(

Thanks anyway!

Re: Kiosk set MIMEType handling

Posted: 12 Mar 2016, 07:31
by fanthom
I have removed last two posts as its better to not reveal such information publicly (kiosk security wise).

Please contact me on support@porteus-kiosk.org if you need my help.

Thank you.