1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-22 15:38:06 +02:00
eda-tools/dsv
Werner Almesberger bbb6513b42 dsv/dsv: allow -p and -u to be used together
In this case, first the path and then the URL is printed.
Before, you'd either get and error or one of the options would be ignored.
2012-12-22 22:31:27 -03:00
..
dsv dsv/dsv: allow -p and -u to be used together 2012-12-22 22:31:27 -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