kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #29647
Re: pull default PDF viewer
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
Wayne Stambaugh <stambaughw@xxxxxxxxx>
-
Date:
Tue, 6 Jun 2017 13:58:14 -0400
-
In-reply-to:
<CA+Mgg7O=tr5RA8HmH9P5Q-iwaT3igaK3j6xz8w33tQVD5AaEqQ@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
On 6/6/2017 4:17 AM, Fabrizio Tappero wrote:
> Apologies for presenting this problem again and again
>
> I think this topic came up too many times but (on my linux system) the
> default PDF viewer is not pulled correctly by kiCad. From the terminal:
>
> $ cat /usr/share/applications/defaults.list | grep pdf
> application/pdf=xreader.desktop;evince.desktop;atril.desktop
Is this the same as the mime type? Look at another app such as
Thunderbird and see what app it uses to open PDF files.
>
> but KiCad insist using Gimp.
Is Preferences->PDF Viewer->System Default PDF Viewer in the KiCad
launcher checked? If not, KiCad will attempt to fall back on some
reasonable default. If it is checked, then there is most likely a bug
in wxMimeTypeManager which is used to determine the system command to
open a PDF file.
>
> can anybody point me to the right direction? I am looking at preferences.cpp
The source file you are looking for is common/gestfich.cpp. The
function is OpenPDF().
>
> Cheers
> 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