--- a/lib/configure.py +++ b/lib/configure.py @@ -636,9 +636,9 @@ def checkFormatEntries(dtl_tools): \Format xbm xbm XBM "" "%s" "%s" "" "image/x-xbitmap" \Format xpm xpm XPM "" "%s" "%s" "" "image/x-xpixmap"''' path, iv = checkViewerNoRC('a raster image viewer', - ['xv', 'gwenview', 'kview', + ['xdg-open', 'xv', 'gwenview', 'kview', 'eog', 'xviewer', 'ristretto', 'gpicview', 'lximage-qt', - 'xdg-open', 'gimp-remote', 'gimp'], + 'gimp-remote', 'gimp'], rc_entry = [imageformats]) path, ie = checkEditorNoRC('a raster image editor', ['gimp-remote', 'gimp'], rc_entry = [imageformats]) @@ -685,7 +685,7 @@ def checkFormatEntries(dtl_tools): \Format html_table html "HTML Table (for spreadsheets)" "" "" "%%" "document" "text/html" \Format oocalc ods "OpenDocument spreadsheet" "" "" "%%" "document" "application/vnd.oasis.opendocument.spreadsheet"''']) # - checkViewer('an HTML previewer', ['firefox', 'mozilla file://$$p$$i', 'netscape'], + checkViewer('an HTML previewer', ['xdg-open', 'firefox', 'mozilla file://$$p$$i', 'netscape'], rc_entry = [r'\Format xhtml xhtml "LyXHTML" y "%%" "" "document,menu=export" "application/xhtml+xml"']) # checkEditor('a BibTeX editor', ['jabref', 'JabRef', @@ -699,7 +699,7 @@ def checkFormatEntries(dtl_tools): #checkProg('a Postscript interpreter', ['gs'], # rc_entry = [ r'\ps_command "%%"' ]) checkViewer('a Postscript previewer', - ['kghostview', 'okular', 'qpdfview --unique', + ['xdg-open', 'kghostview', 'okular', 'qpdfview --unique', 'evince', 'xreader', 'gv', 'ghostview -swap', 'gsview64', 'gsview32'], rc_entry = [r'''\Format eps eps EPS "" "%%" "" "vector" "image/x-eps" @@ -710,7 +710,7 @@ def checkFormatEntries(dtl_tools): # maybe use "bestApplication()" from https://github.com/jleclanche/python-mime # the MIME type is set for pdf6, because that one needs to be autodetectable by libmime checkViewer('a PDF previewer', - ['pdfview', 'kpdf', 'okular', 'qpdfview --unique', + ['xdg-open', 'pdfview', 'kpdf', 'okular', 'qpdfview --unique', 'evince', 'xreader', 'kghostview', 'xpdf', 'SumatraPDF', 'acrobat', 'acroread', 'mupdf', 'gv', 'ghostview', 'AcroRd32', 'gsview64', 'gsview32'], @@ -723,7 +723,7 @@ def checkFormatEntries(dtl_tools): \Format pdf7 pdf "PDF (cropped)" "" "%%" "" "document,vector" "" \Format pdf8 pdf "PDF (lower resolution)" "" "%%" "" "document,vector" ""''']) # - checkViewer('a DVI previewer', ['xdvi', 'kdvi', 'okular', + checkViewer('a DVI previewer', ['xdg-open', 'xdvi', 'kdvi', 'okular', 'evince', 'xreader', 'yap', 'dviout -Set=!m'], rc_entry = [r'''\Format dvi dvi DVI D "%%" "" "document,vector,menu=export" "application/x-dvi" @@ -732,7 +732,7 @@ def checkFormatEntries(dtl_tools): # Windows only: DraftDVI addToRC(r'\Format dvi2 dvi DraftDVI "" "" "" "vector" ""') # - checkViewer('an HTML previewer', ['firefox', 'mozilla file://$$p$$i', 'netscape'], + checkViewer('an HTML previewer', ['xdg-open', 'firefox', 'mozilla file://$$p$$i', 'netscape'], rc_entry = [r'\Format html "html, htm" HTML H "%%" "" "document,menu=export" "text/html"']) # checkViewerEditor('Noteedit', ['noteedit'],