Linux Mint has a feature of the file manager Nemo which allows previewing a document without opening the responsible app. The feature is called Nemo-Preview and it is based on Sushi for Gnome.
When I install the default LibreOffice in the Mint repositories, nemo-preview presents a preview of LibreOffice documents. But the version of LibreOffice in the Mint repositories is older.
To get a newer version, I removed the existing LibreOffice and installed the Flatpak version. However, then nemo-preview cannot preview LibreOffice documents. I get the following error:
Sep 14 14:57:50 rammjet-TH50 nemo-preview-st[46530]: libreoffice not found, and PackageKit failed to install it with error GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files
Is there some way to make the flatpak version of LibreOffice known to the system?