Red Hat Bugzilla – Bug 486062
openoffice.org isn't registered as being able to handle the mime-types for .pdb .psw .dbf
Last modified: 2010-02-11 09:18:11 EST
Description of problem:
openoffice can't open the file of .pdb .psw .dbf
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Get one .pdb .psw .dbf file
2.Double click on the file
it can't launch openoffice
it can launch openoffice successfully.
These kinds of files were saved by openoffice, if these files can opened by openoffice?
You need to install openoffice.org-javafilter to be able to open these file formats.
After install openoffice.org-javafilter, These kinds of files still can't opened by openoffice
Created attachment 332347 [details]
the terminal show have installed openoffice.org-javafilter
Created attachment 332348 [details]
the popup window
Not a great description, but looking at the dialog I can see that its the *nautilus* dialog, so the problem is that openoffice.org isn't get launched to handle those types that it can open.
dbf is straightforward, we can add application/x-dbf; to calc's desktop. The other two are more difficult as the aportisdoc .pdb is being categorized as "Palm OS Software", so I guess we need to add a new mime type to shared-mime-info and a way to disambiguate from the other .pdb, and then we need to add one to for .psw "Pocket Word" to that. Then we could add those entries to writer's desktop.
Move to rawhide, as its not very critical
Created attachment 332354 [details]
assuming that the shared-mime-info addition is good then
Added .dbf into the calc .desktop, added a .desktop for javafilter to add support for pocketword, pocketexcel and aportis doc when -javafilter is installed.
Fixed type-detection in office so it will "just do the right thing" when OOo sees those formats
But the .pdb and .psw formats will only work when double clicked on in nautilus when shared-mime-info knows about the application/x-palm-database and application/x-pocket-word, which has been closed upstream to http://bugs.freedesktop.org/show_bug.cgi?id=20185
Installing openoffice.org-javafilter will now add a
with registration for
So the OOo side is done in rawhide. Unfortunately for nautilus to launch OOo for these types, the shared-mime-info packages needs to know about it too. Patched logged upstream against shared-mime-info and will probably be in the next release of that when it hits rawhide