Can not preveiw libreoffice document (e.g. docx, pptx) with LibreOffice on Ubuntu 20.04
Environment:
- Ubuntu 20.04
- LibreOffice 7.0.2 download from libreoffice.org
Ubuntu 20.04 ship with LibreOffice 6.4.6, I want to use LibreOffice 7, so I apt remove libreoffice-*
to remove 6.4.6. Then manually download LibreOffice 7.0.2.deb from libreoffice.org, and install 7.0.2 deb packages dpkg -i *.deb
by following the README.
But, after installed the LibreOffice 7.0.2, I can not preview office document (e.g. docx,pptx) via Nautilus Gnome-sushi,the GUI is stucked when I press space
key. It prompt ... Additional package is needed ...
.
So I open gjs
and test imports.gi.LOKDocView
, the log is in below:
$ gjs
gjs> imports.gi.LOKDocView
typein:1:1 Requiring LOKDocView, version none: Typelib file for namespace 'LOKDocView' (any version) not found
@typein:1:1
@<stdin>:1:42
Edited by Honghe