Ticket #4475 (new defect)
MC cannot view .docx files
Reported by: | pelya | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Future Releases |
Component: | mc-core | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
Opening MS Word .docx files with F3 button fails. I've looked through doc.sh script and installed all the obscure .docx to text conversion tools listed there - wvHtml, elinks, antiword, catdoc, and none of these tools work with .docx files saved with MS Word 2007 or newer.
On the other hand, the default Debian and Ubuntu installation includes LibreOffice? out of the box, and LibreOffice? can convert any version of .docx file to text using --cat flag.
I'm adding a patch to use LibreOffice? by default for viewing MS Word documents with F3 button.
Tested on MC 4.8.26 on Debian 10.
Attachments
Change History
comment:3 Changed 19 months ago by pelya
It appears that LibreOffice? --cat flag does not work when LibreOffice? is running in another window. I've updated the patch to work around this problem by creating a separate user profile for LibreOffice? in a temporary directory.