Root/
1 | Setting the PDF viewer |
2 | ---------------------- |
3 | |
4 | If the environment variable DSV_VIEWER is set, dsv will launch the |
5 | program specified there. |
6 | |
7 | If DSV_VIEWER is not set but DSV_PDFVIEWER is set, dsv will launch |
8 | the program specified in DSV_PDFVIEWER. |
9 | |
10 | If neither DSV_VIEWER nor DSV_PDFVIEWER are set, dsv will run |
11 | xdg-open to launch the viewer. |
12 | |
13 | xdg-open typically defaults to the "evince" viewer. The default |
14 | can be changed from the command line with |
15 | |
16 | xdg-mime default APPLICATION application/pdf |
17 | |
18 | where APPLICATION is one of the *.desktop files typically found |
19 | in /usr/share/applications/ or /usr/local/share/applications/ |
20 | |
21 | For example, to make xpdf the default xdg-open (and hence many |
22 | other applications) uses, one would run |
23 | |
24 | xdg-mime default xpdf.desktop application/pdf |
25 |
Branches:
master