[opensuse-support] Default PDF viewer
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I have to use the proprietary PDF viewer Foxit (because Evince is not capable of taking snapshots, ie, photos in graphic mode). Foxit has a feature in preferences to "Make Foxit the default PDF viewer". I said no, but both LibreOffice and Midnight commander open PDFs now in Foxit instead of evince. I want to revert this action, but I have no idea how Foxit did the change. Mime type list perhaps? No, the mime.type files have not changed. I'm using XFCE on 15.0 - -- Cheers Carlos E. R. (from 15.0 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCXG8BOxwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVJqIAoIpAXWjFSpOpP7rps/JJ ms+R7c4TAJ9XxaDbG4tjkT6VBFDIX4rOSwuaoA== =ithO -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On Thu, 21 Feb 2019 20:51:23 +0100 (CET) "Carlos E. R." <robin.listas@telefonica.net> wrote:
I have to use the proprietary PDF viewer Foxit (because Evince is not capable of taking snapshots, ie, photos in graphic mode).
Foxit has a feature in preferences to "Make Foxit the default PDF viewer". I said no, but both LibreOffice and Midnight commander open PDFs now in Foxit instead of evince.
I want to revert this action, but I have no idea how Foxit did the change.
Mime type list perhaps? No, the mime.type files have not changed.
check out xdg-open. The association is probably there somewhere but I don't remember any more than the name.
I'm using XFCE on 15.0 -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On 21/02/2019 21.54, Dave Howorth wrote:
On Thu, 21 Feb 2019 20:51:23 +0100 (CET) "Carlos E. R." <robin.listas@telefonica.net> wrote:
I have to use the proprietary PDF viewer Foxit (because Evince is not capable of taking snapshots, ie, photos in graphic mode).
Foxit has a feature in preferences to "Make Foxit the default PDF viewer". I said no, but both LibreOffice and Midnight commander open PDFs now in Foxit instead of evince.
I want to revert this action, but I have no idea how Foxit did the change.
Mime type list perhaps? No, the mime.type files have not changed.
check out xdg-open. The association is probably there somewhere but I don't remember any more than the name.
Ah! Interesting. xdg-open - opens a file or URL in the user's preferred application from that to: xdg-settings - get various settings from the desktop environment Let's try: cer@Telcontar:~> xdg-settings --list Known properties: default-url-scheme-handler Default handler for URL scheme default-web-browser Default web browser cer@Telcontar:~> So it is not there. xdg-mime - command line tool for querying information about file type handling and adding descriptions for new file types cer@Telcontar:~> xdg-mime query filetype udf260.pdf application/pdf cer@Telcontar:~> cer@Telcontar:~> xdg-mime query default mimetype application/pdf xdg-mime: mimetype 'mimetype' is not in the form 'minor/major' Try 'xdg-mime --help' for more information. cer@Telcontar:~> Huh? Ah. The man is a bit confusing. But there are examples.. cer@Telcontar:~> xdg-mime query default application/pdf FoxitReader.desktop cer@Telcontar:~> Gotyou! cer@Telcontar:~> xdg-mime default evince.desktop application/pdf cer@Telcontar:~> xdg-mime query default application/pdf evince.desktop cer@Telcontar:~> Thanks! :-) Now let's see if it is permanent. Restarting foxit... yes, it doesn't change the setting. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
Carlos E.R. wrote:
On 21/02/2019 21.54, Dave Howorth wrote:
Mime type list perhaps? No, the mime.type files have not changed.
Would have been my guess, too.
cer@Telcontar:~> xdg-settings --list Known properties: default-url-scheme-handler Default handler for URL scheme default-web-browser Default web browser cer@Telcontar:~>
So it is not there.
Check ~/.config/mimeapps.list -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On 22/02/2019 11.23, Peter Suetterlin wrote:
Carlos E.R. wrote:
On 21/02/2019 21.54, Dave Howorth wrote:
Mime type list perhaps? No, the mime.type files have not changed.
Would have been my guess, too.
cer@Telcontar:~> xdg-settings --list Known properties: default-url-scheme-handler Default handler for URL scheme default-web-browser Default web browser cer@Telcontar:~>
So it is not there.
Read down that post, you will see I solved the problem :-)
Check ~/.config/mimeapps.list
application/pdf=evince.desktop application/ppdf=FoxitReader.desktop -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
participants (4)
-
Carlos E. R.
-
Carlos E.R.
-
Dave Howorth
-
Peter Suetterlin