[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Firefox öffnet Dateien standardmäßig mit "System Handler"



Helge Reimer - 10.08.20, 20:28:05 CEST:
> Am Montag, 10. August 2020, 18:23:01 CEST schrieb Martin Steigerwald:
> > Okay, die Lösung ist für jetzt gut genug!
> > 
> > Danke Dir!
> 
> Skuril, aber schön für dich :-)
> Wäre nochmal interessant wieso bei dir jetzt Gimp default war.
> Wo kommt das her?

dino-im macht das auch. Vielleicht aus dem mailcap-Zeug aus dem Mimesupport-Paket.

Warum da aber bestimmte MIME-Typen doppelt drin sind, entzieht sich meiner Kenntnis:

% grep pdf /etc/mailcap
application/pdf;            okular %s;        nametemplate=%s.pdf;      test=test "$DISPLAY" != ""
application/x-pdf;          okular %s;        nametemplate=%s.pdf;      test=test "$DISPLAY" != ""
application/x-gzpdf;        okular %s;        nametemplate=%s.pdf.gz;   test=test "$DISPLAY" != ""
application/x-bzpdf;        okular %s;        nametemplate=%s.pdf.bz2;  test=test "$DISPLAY" != ""
application/pdf; fbgs -c '%s'; test=test -z "$DISPLAY"; needsterminal
application/pdf; mupdf %s; test=test -n "$DISPLAY" ; nametemplate=%s.pdf
application/x-pdf; mupdf %s; test=test -n "$DISPLAY" ; nametemplate=%s.pdf
application/pdf; qpdfview %s; test=test -n "$DISPLAY"; nametemplate=%s.pdf
application/x-pdf; qpdfview %s; test=test -n "$DISPLAY"; nametemplate=%s.pdf
text/pdf; qpdfview %s; test=test -n "$DISPLAY"; nametemplate=%s.pdf
text/x-pdf; qpdfview %s; test=test -n "$DISPLAY"; nametemplate=%s.pdf
image/pdf; qpdfview %s; test=test -n "$DISPLAY"; nametemplate=%s.pdf
image/x-pdf; qpdfview %s; test=test -n "$DISPLAY"; nametemplate=%s.pdf
image/pdf; /usr/bin/display-im6.q16 -nostdin %s; test=test -n "$DISPLAY"
application/pdf; gimp-2.10 %s; test=test -n "$DISPLAY"

^^^^ das da vielleicht? Allerdings gibt es zig Einträge für "application/pdf".
Mir ist vollkommen unklar, wie er davon einen auswählt.

application/pdf; krita %s; test=test -n "$DISPLAY"
application/pdf; okular %s; test=test -n "$DISPLAY"
application/x-gzpdf; okular %s; test=test -n "$DISPLAY"
application/x-bzpdf; okular %s; test=test -n "$DISPLAY"
application/pdf; evince %s; test=test -n "$DISPLAY"
application/x-bzpdf; evince %s; test=test -n "$DISPLAY"
application/x-gzpdf; evince %s; test=test -n "$DISPLAY"
application/x-xzpdf; evince %s; test=test -n "$DISPLAY"
application/x-ext-pdf; evince %s; test=test -n "$DISPLAY"
application/pdf; inkscape %s; test=test -n "$DISPLAY"
application/pdf; karbon %s; test=test -n "$DISPLAY"
image/pdf; display-im6.q16 'pdf:%s'; test=test -n "$DISPLAY"

Ciao,
-- 
Martin



Reply to: