1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-04 23:05:21 +02:00
eda-tools/dsv
Werner Almesberger 676c6a2715 dsv/dsv: record source URL in dsv-* file; new option -u to show it
This adds a second line to the dsv-* files, containing the source URL.
dsv -u <word> shows the URL.

Compatibility with older versions of dsv:

- "dsv -u" will fail with an error if running on an old data sheet
  database, while the rest of dsv works as before

- to update the database, run the usual "dsv setup ..."
  (most dsv-using projects have a "make dsv" target for this)

- older version of dsv will not be able to display data sheets or paths
  if run with an updated database
2012-12-21 17:43:37 -03:00
..
dsv dsv/dsv: record source URL in dsv-* file; new option -u to show it 2012-12-21 17:43:37 -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