MIME type handling in firefox/thunderbird
Tim Wunder
tim
Tue Aug 9 09:32:33 PDT 2005
On Tuesday 09 August 2005 9:55 am, someone claiming to be Net Llama! wrote:
<snipped something above>
>
> FWIW, i have this problem in firefox too. I tried adding something
> similar to the above to the mimeTypes.rdf for my firefox profile but it
> didn't do anything.
Hmmm...
Ok, this is what I just did, using firefox 1.0.6 on FC2:
* Viewed my mimeTypes.rdf file located in
~/.mozilla/firefox/default.ny6/
to make sure no references to .pps, or ms-powerpoint files existed.
* Navigated to www.thewunders.org/files/ and clicked on Winterday.pps and was
presented with an Open With dialog from Fx, defaulting to OpenOffice.org.
* changed the app to /usr/bin/kpresenter, and checked the do this
automatically for files of this type from now on checkbox.
The following code was added to my mimeTypes.rdf file:
<RDF:Description RDF:about="urn:mimetype:application/vnd.ms-powerpoint"
NC:value="application/vnd.ms-powerpoint"
NC:editable="true"
NC:description="Microsoft PowerPoint document">
<NC:fileExtensions>ppt</NC:fileExtensions>
<NC:fileExtensions>pps</NC:fileExtensions>
<NC:handlerProp
RDF:resource="urn:mimetype:handler:application/vnd.ms-powerpoint"/>
</RDF:Description>
<RDF:Description RDF:about="urn:mimetypes">
<NC:MIME-types RDF:resource="urn:mimetypes:root"/>
</RDF:Description>
<RDF:Description
RDF:about="urn:mimetype:externalApplication:application/vnd.ms-powerpoint"
NC:path="/usr/bin/kpresenter"
NC:prettyName="kpresenter" />
Now when I click on the file, it is automatically opened with kpresenter.
Now what part of what was added is needed to tell T-bird to open .log files
with your editor of choice, I don't know, but it should be possible to do it
by adding something to the mimeTypes.rdf file. In other words, it seems that
the mimeTypes.rdf file in your profile takes precedence over whatever default
FCx uses...
Regards,
Tim
--
Fedora Core release 2 (Tettnang), Linux 2.6.12-ck3
KDE: 3.4.1-1.0.fc2.kde, xorg-x11-6.8.2-1.FC2.13
10:50:03 up 12 days, 3:58, 2 users, load average: 1.27, 1.33, 1.08
MP3/OGG archive Total playlength : 7 days, 7 hours, 39 mins 40 seconds
"It's what you learn after you know it all that counts" John Wooden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.linux-sxs.org/pipermail/linux-users/attachments/20050809/171ee405/attachment-0001.pgp
More information about the Linux-users
mailing list