I am unable to view PDF's in VIFM with Evince (my pdf viewer of choice). How does one do this?
Asked
Active
Viewed 2,488 times
2 Answers
5
You need to configure vifm to open .pdf
files with Evince. In your ~/.vifm/vifmrc
add the following lines:
command evince evince *.{pdf} &
filetype *.pdf evince
The first defines a user command, the second sets the default program for specific filetypes.
The default vifmrc
(that should be installed to /usr/share/vifm/vifmrc
) is very well commented and should provide all the documentation you need to get it up and running. The Arch wiki also has a vifm page that contains some helpful pointers and tips.

jasonwryan
- 73,126
0
I could do it by change my config file ~/.vifm/vifmrc like this:
filextype *.pdf xreader
fileviewer *.pdf xreader-previewer
0.4
for Debian-based systems), there is more up to date version in experimental. You can as well build it from sources. The old version uses different syntax and updates vifmrc on exit. – xaizek Oct 05 '14 at 14:14