Well, the default
vifmrc handles previewing of .docx files like this:
Code:
fileviewer {*.docx},
\<application/
\vnd.openxmlformats-officedocument.wordprocessingml.document>
\ docx2txt.pl %f -
But
PKGBUILD for docx2txt installs it as
/usr/bin/docx2txt. An easy workaround is to copy that snippet to your
~/.config/vifm/vifmrc (or
~/.vifm/vifmrc, or
/etc/vifm/vifmrc) replacing
docx2txt.pl with
docx2txt.
Also, you should file a bug with the vifm Archlinux package to patch
/usr/share/vifm/vifmrc accordingly.
For PostScript files, the default
vifmrc only has
this:
Code:
" PostScript
filextype {*.ps,*.eps,*.ps.gz},<application/postscript>
\ {View in zathura}
\ zathura %f,
\ {View in gv}
\ gv %c %i &,
Again, you can add
fileviewer PostScript handling to your local
vifmrc.