← Back to team overview

kicad-developers team mailing list archive

Re: kicad pdf documentation gets open in Gimp

 

Hi!

This is truly an old issue, and I had the same issue with other linux programs (Opera, Firefox,..) on Kubuntu.

I assume the "issue" is that kicad uses the standard mechanism to determine the default viewer, which is not kept in sync by KDE (which is the default desktop on Mint, I think).

You will find that the default pdf 'viewer' is set to Gimp in

/usr/share/applications/defaults.list

The list of applications available to open any mimetype seems to come from 'mimeinfo.cache' in the same directory. No idea who came up with those defaults and why KDE does not update them, but it seems to be the same issue in all Ubuntu-based distributions (or even Debian?).


You can set the default viewer either by creating a file

kate ~/.local/share/applications/defaults.list

to contain:

[Default Applications]
application/pdf=kde4/okular.desktop;


You can also achieve the same by running

mimeopen -d dummy.pdf

which will ask you for your preferred viewer and store it to your defaults.list. (If you choose 'Other', you need to enter a program name like 'okular', and it will create a new .desktop file, which is why I prefer editing the defaults.list file myself, or/and add my favorite pdf viewer to my local mimeinfo.cache first).


Cheers,
 Stefan



On 05.05.2015 00:25, Fabrizio Tappero wrote:
Hello,

In my Linux Mint (as I supspect in many Debian distros) any pdf (via
double click) gets open with the default Document Viewer, as it should.
but kicad insist with Gimp.

this is a very old issue and despite the possibility of choosing a pdf
reader inside kicad, it seems strange to me that in 2015 there is still
no way to tell linux not to read a pdf with gimp.

Does anybody know how to work around this proble?

Thanks
Fabrizio



_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp



Follow ups

References