Default action on .odt files

Christopher A. Williams chrisw at cawllc.com
Mon Apr 30 00:17:46 UTC 2007


On Sun, 2007-04-29 at 10:45 -0400, Paul W. Frields wrote:
> On Sun, 2007-04-29 at 08:50 +0530, Rahul Sundaram wrote:
> > Christopher A. Williams wrote:
> > > On Sun, 2007-04-29 at 06:57 +0530, Rahul Sundaram wrote:
> > > 
> > >>> Unfortunately, "I loaded it on my system and it works just fine,"
> > >>> doesn't help much at all.
> > >> Possibly because you are both using different spins. If you want to 
> > >> discuss issues in Fedora 7 test releases it is important to specify 
> > >> which spin you are using. The behavior is different between them 
> > >> depending on which applications are included.
> > > 
> > > Good point! I hadn't considered this. Indeed, both of the systems I have
> > > were loaded from the Fedora installation DVD as opposed to the live CD.
> > > Both also were updated immediately with the Rawhide patches and I
> > > installed my usual list of add-ons that I tend to include with previous
> > > versions of Fedora. That includes:
> > > 
> > > Adobe Reader (with Remi's patch - it's still apparently needed)
> > > Sun Java JRE (a couple of websites I frequent seem to want it in spite
> > > of anything else)
> > > Flash Plugin
> > > 
> > > Could Sun's Java RPM be causing this? It doesn't on FC6 and I didn't try
> > > on F7T4 before installing it.
> > 
> > Very unlikely. I would suggest not using packages outside the standard 
> > repository while testing. Some of them create problems that are not 
> > reversed even when you uninstall them and makes debugging harder.
> 
> The Sun Java JRE package *is* the cause of this -- you can, for example,
> remove /usr/share/mime/packages/x-java-* (or demote the priorities in
> those files) to keep this from happening.  The file magic match is
> essentially matching any ZIP compressed archive as it's installed out of
> the box.

Thanks! That was exactly the problem. Between your and Havard's posts, I
was able to fix this quickly and easily. To summarize:

1) Correct the syntax error (missing the initial '<') on line 35 of the
file /usr/share/mime/packages/x-java-archive.xml

2) Run the command (as root): update-mime-database /usr/share/mime

Hope that helps others looking for a way to fix the problem.

Cheers,

Chris


--
====================================================
In theory there is no difference between theory and practice.
In practice there is.

--Yogi Berra




More information about the fedora-test-list mailing list