[vox-tech] Firefox File Associations
David Hummel
dhml at comcast.net
Thu Jan 12 13:00:21 PST 2006
On Thu, Jan 12, 2006 at 12:40:37PM -0800, Bob Scofield wrote:
>
> Firefox in my SuSE system will not bring up Microsoft Word documents
> in Open Office if I click on Word documents on a web page. In my
> Debian system Firefox does bring Open Office up for Word documents.
> I'd like to fix Firefox in SuSE to do the same.
>
> When I type "about:config" in the Firefox URL box I get all the
> configuration information, but I don't see what it is that I'm
> supposed to change to get Firefox to start Open Office.
You should have entries like these in ~/.mailcap:
application/msword; oowriter2 '%s'; edit=oowriter2 '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.doc; description="Microsoft Word Document"
application/vnd.ms-word; oowriter2 '%s'; edit=oowriter2 '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.doc; description="Microsoft Word Document"
application/msexcel; oocalc2 '%s'; edit=oocalc2 '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.xls; description="Microsoft Excel Document"
application/vnd.ms-excel; oocalc2 '%s'; edit=oocalc2 '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.xls; description="Microsoft Excel Document"
application/mspowerpoint; ooimpress2 '%s'; edit=ooimpress2 '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.ppt; description="Microsoft PowerPoint Document"
application/vnd.ms-powerpoint; ooimpress2 '%s'; edit=ooimpress2 '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.ppt; description="Microsoft PowerPoint Document"
[ from an ubuntu breezy system, adjust yours accordingly ]
You should see the following Firefox preference settings in
about:config:
helpers.global_mailcap_file /etc/mailcap
helpers.private_mailcap_file ~/.mailcap
-David
More information about the vox-tech
mailing list