FS#71844 - [vifm] fails to preview .docx files

Attached to Project: Community Packages
Opened by Arturo (blackbirdsr71) - Sunday, 15 August 2021, 22:55 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 03 September 2023, 15:40 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: vifm doesn't show preview of .docx in a panel in view mode.


Additional info:
* package version(s): vifm 0.11-1
* config:
~/.config/vifm/vifmrc:

" Office files
filextype {*.odt,*.doc,*.docx,*.xls,*.xlsx,*.odp,*.pptx,*.ppt},
\<application/vnd.openxmlformats-officedocument.*,
\application/msword,
\application/vnd.ms-excel>
\ libreoffice %f &
fileviewer {*.doc},<application/msword> catdoc %c
fileviewer {*.docx},
\<application/
\vnd.openxmlformats-officedocument.wordprocessingml.document>
\ docx2txt.pl %f -

Steps to reproduce:
PKGBUILD for docx2txt installs it as /usr/bin/docx2txt.

So in the vifmrc config \ docx2txt.pl %f - should be replaced by \ docx2txt %f -

This resolves the issue and after that .docx may be previewd.
This task depends upon

Closed by  Jelle van der Waa (jelly)
Sunday, 03 September 2023, 15:40 GMT
Reason for closing:  Works for me

Loading...