I had the same problem.

Mine started when I did Open With -> kpdf
(Sorry can't remember why I did that, it was working fine before)

Anyway I couldn't follow Drew's description after "If we go back to the
file associations list via Konqueror (mentioned earlier) we can see KPDF
listed but if we hit "Edit" things look broken."

When I hit "Edit" I get a properties box similar to this one - see
attachment 1

This came up for kpdf before I installed and manually added an
association for acroread, but now if I hit "Edit" for kpdf I get this
box - see attachment 2

I could not get kpdf to work no matter how I tried to edit the command in the 
properties box, Neither could I get it to work running from a command line
:~$ kpdf /home/jesse/PDF/Invoice-Profesional.pdf
kpdf: WARNING: Unknown mimetype 'application/x-kdeuser1'.

This mimetype "x-kdeuser1" might be the problem. I removed the
association to it but this error still came up. Perhaps it was still
lingering somewhere beyond "File Associations" config utility. ??

Anyway, I installed acroread and made an association to it (NOT through
Open With - I the remember checkbox was greyed out) I made the
association with the config utility. Acroread worked so I could at least
view my files. I then thought I might as well add kpdf to the
association and put it after acroread in preference. I did this (again
using the config utility) and right clicked on a pdf file Open With >
xpdf (the second choice due to having added it with the config utility)
Low and behold the xpdf worked!!

Then I changed the order of preference (with the config utility) so that xpdf 
was before acroread and double clicked on a pdf file.
Xpdf gave me a little error window saying - Could not find mime type - 
application/octet-stream. see attachment3 and the file was opened in acroread!
NOTE on attachment3: I didn't take a screen shot of this when xpdf threw it up 
so the screen shot is of when dolphin did it. see below

xpdf was also no longer available on the open with menu. Even after I removed 
the association and put it back again.
I thought I would try to restart dolphin and see if that helped. When starting 
dolphin I got three "could not find mime type" messages (attachment3) and then 
another one when I first clicked on a pdf file. I'm guessing this is due to 
dolphin's preview function and was triggered not by the 'click' but by my mouse 
moving over the files.

Remarkably, after clicking OK on the error messages. Dolphin is working fine, 
except that kpdf is still not in the "Open With" menu.
(Just In case there is some confusion I'm talking about the "Open With" menu 
not the "Open With" -> "Other..." list)

OK Hope this helps someone. I can't spend any more time on it now. I
have to do my tax return or they will fine me. ;-)



** Attachment added: "snapshot1.png"
   http://launchpadlibrarian.net/21793210/snapshot1.png

-- 
associating pdf files to KPDF results in a broken association
https://bugs.launchpad.net/bugs/161073
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to