Re: Kontact does not remember pdf assignment

Kevin Krammer <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Organization KDE
Message-ID <1987478.QhpguefgzG@persephone>
On Tuesday, 2014-10-14, 12:08:57, Wolf Drechsel wrote:
> Am Dienstag, 14. Oktober 2014, 11:59:05 schrieb Kevin Krammer:

> > It needs to be another KDE program so we can check if it is something
> > KMail
> > does wrong or if the setting used by the core infrastructure is.
> > 
> > E.g.
> > 
> > kioclient exec /path/to/some/pdf
> 
> I do get this error message:
> 
> "Der Befehl lässt sich nicht ausführen. Die Datei oder der Ordner
> *file:///path/to/some/pdf* existiert nicht."
> 
> The command is not executable. File or directory file:///path/to/some/pdf is
> inexistant.

That looks like you did not point it to an actual PDF file.
Try

kioclient exec http://epa.org.kw/Portals/0/sample.pdf

if you don't have any local PDF file around.

> > Given our output of the ktraderclient command I'd say the latter.
> > 
> > If you run
> > kcmshell4 filetypes
> > 
> > does it list the program you want for application/pdf?
> 
> Yes, it does.
> 
> > Is it the top of the list?
> 
> No, it was not. But it didnt change anything to put it at the top. As well
> not after a relaunch of Kontact.

check for a file

$HOME/.local/share/applications/mimeapps.list

Then change the association using the kcmshell4 command above.
Did the file change?

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

_______________________________________________
KDE PIM users mailing list
Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users
signature.asc (application/pgp-signature, 173 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iD8DBQBUPPx3nKMhG6pzZJIRAt4EAKCD3UmRNDFqqgjvDJDfMW/JcjgFsACfYTnv
9YXecJhzK7vyuXEdrxTfVG4=
=6Dlg
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.