1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-12-23 12:14:35 +02:00
eda-tools/dsv
Werner Almesberger 006940d58b dsv/dsv (flush): sanitize name of local data sheet copy
We turn ? (and, for good measure, & as well) into _, to be compatible with
the open_generic function of xdg-open, which strips \?*.
2016-02-29 22:44:26 -03:00
..
dsv dsv/dsv (flush): sanitize name of local data sheet copy 2016-02-29 22:44:26 -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