Когда я пытался открыть текстовый документ из терминала, я использовал для этого wvWare и некоторые другие команды, но я не смог его получить. Может кто-нибудь помочь мне!
Можно открыться, это со справкой libre-office-writer следующей командой (откройтесь офисным устройством записи Весов):
lowriter "<path/to/file>"
От man libreoffice
:
Name libreoffice - LibreOffice office suite SYNOPSIS libreoffice [--accept=accept-string] [--base] [--calc] [--convert-to output_file_extension[:output_filter_name] [--outdir output_dir] file]... [--display display] [--draw] [--global] [--headless] [--help|-h|-?] [--impress] [--invisible] [--infilter=""] [--math] [--minimized] [-n file]... [--nodefault] [--nolockcheck] [--nologo] [--norestore] [-o file]... [-p file...] [--print-to-file [--printer-name printer_name] [--outdir output_dir] file]... [--pt printername file...] [--show Impress file]... [--unaccept=accept-string] [--terminate_after_init] [--view file]... [--web] [--writer] [file...] lobase localc lodraw lofromtemplate loimpress lomath loweb lowriter DESCRIPTION LibreOffice (LO for short) is a multi-platform office productivity suite.
С технической точки зрения xdg-open
должен работать на весь типы файлов. Это просто откроет их в соответствующем приложении. Все типы пантомимы документа отображаются на Office Libre по умолчанию, таким образом, это должно просто работать:
xdg-open document.doc
Это должно работать с Office Libre.
libreoffice document.docx
Следующее работало на меня
catdoc document.rf