1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-07-01 02:23:16 +03:00
eda-tools/dsv
Werner Almesberger 7067c00a90 dsv/dsv: add Z tag to select files in ZIP archive not ending in .zip
The  D: url file  format only works if the URL ends in .zip, .ZIP,
etc. Some URLs leading to a ZIP don't use this extension. The Z tag
introduces the following alternative use:

D: url
Z: file

where the URL is always treated as ZIP archive, no matter what it looks
like.
2014-03-07 08:19:28 -03:00
..
dsv dsv/dsv: add Z tag to select files in ZIP archive not ending in .zip 2014-03-07 08:19:28 -03:00
README dsv/dsv: change viewer default from xpdf to xdg-open; introduce DSV_VIEWER; add README 2012-07-20 09:48:36 -03:00

Setting the PDF viewer
----------------------

If the environment variable DSV_VIEWER is set, dsv will launch the
program specified there.

If DSV_VIEWER is not set but DSV_PDFVIEWER is set, dsv will launch
the program specified in DSV_PDFVIEWER.

If neither DSV_VIEWER nor DSV_PDFVIEWER are set, dsv will run
xdg-open to launch the viewer.

xdg-open typically defaults to the "evince" viewer. The default
can be changed from the command line with

xdg-mime default APPLICATION application/pdf

where APPLICATION is one of the *.desktop files typically found
in /usr/share/applications/ or /usr/local/share/applications/

For example, to make xpdf the default xdg-open (and hence many
other applications) uses, one would run

xdg-mime default xpdf.desktop application/pdf