Question about mimeTypes.rdf

Here you can post about the issues related to modifications performed manually (not through the kiosk wizard). Example: swapped kernel, added 3rd party modules or files.
Please describe in detail what has been changed and hopefully other kiosk user will be able to help.
Porteus team wont resolve bugs posted in this category as we support only modifications made by the kiosk wizard.
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
jseider
White ninja
White ninja
Posts: 6
Joined: 02 Aug 2014, 19:38
Distribution: OS X
Location: Germany

Question about mimeTypes.rdf

Post#1 by jseider » 20 Jul 2018, 08:31

Hi folks,

I have following problem.

Persistence level is none and I have my own xzm module with two files in it

/usr/bin/acrolpr
/opt/scripts/guest/.mozilla/firefox/c3pp43bg.default/mimeTypes.rdf

In file mimeTypes.rdf I have special a pdf document association

-----code snippet---------------
<RDF:Description RDF:about="urn:mimetype:externalApplication:application/pdf"
NC:prettyName="acrolpr"
NC:path="/usr/bin/acrolpr" />
<RDF:Description RDF:about="urn:mimetype:handler:application/pdf"
NC:handleInternal="false"
NC:alwaysAsk="false">
<NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/acrolpr"/>
<NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/pdf"/>
</RDF:Description>
<RDF:Description RDF:about="urn:mimetype:application/pdf"
NC:value="application/pdf"
NC:fileExtensions="pdf">
<NC:handlerProp RDF:resource="urn:mimetype:handler:application/pdf"/>
</RDF:Description>
---------code snippet------------------------

But if I boot this iso the attribut NC:handleInternal in

/home/guest/.mozilla/firefox/c3pp43bg.default/mimeTypes.rdf

is always set to 'true' . I don't want internal preview but directly printing (via my own acrolpr script)
if I get a pdf document.

Any ideas?


Best regards

Locked