This forum has been archived. All content is frozen. Please use KDE Discuss instead.

No document thumbnails in Dolphin

Tags: None
(comma "," separated)
jackrooster
Registered Member
Posts
7
Karma
0

No document thumbnails in Dolphin

Thu Sep 21, 2017 9:50 pm
Hello. I just installed KDE Neon on my Lenovo T430U laptop. I've been using
Linux Mint KDE full-time for the past six years. This my first go around with
Plasma 5. So far s good. One big problem I'm having is that I have installed
"kde-thumbnailer-openoffice" but there are no thumbnails for Libreoffice
documents in Dolphin. It doesn't appear under "Configure Services>Services" in
Dolphim either. Is this an issue with Neon or Plasma 5 in general? This is very
important because I'm evaluating different "KDE centric" distros to replace
Mint KDE. This is very important to me because I do a lot
of graphic design work using LibreOffice and the graphical capabilities of
Dolphin to manage the files. Thank you.
User avatar
Rog131
Registered Member
Posts
828
Karma
10
Three options


Bug 375176 - No document preview (.odt, .doc, .docx, .ods) - https://bugs.kde.org/show_bug.cgi?id=375176

1) The Calligra suite has the document thumbnailers:
Comment #1: https://bugs.kde.org/show_bug.cgi?id=375176#c1
You need to install Calligra 3.0...


Neon has:

Code: Select all
Log of apt-cache show calligra
Fri Sep 22 09:34:51 2017

Package: calligra
Priority: optional
Section: kde
Installed-Size: 155
Maintainer: Neon CI
...
Version: 1:3.0.1-0neon+16.04+xenial+build21


2) Fix the OpenDocument thumbnailer
Comment #3: https://bugs.kde.org/show_bug.cgi?id=375176#c3
There is no need to install the full Calligra 3.0, but the OpenDocument thumbnailer needs to be compiled as a KF5 version, otherwise Dolphin will not use them.

https://store.kde.org/content/show.php?content=110864 has a patch from an openSUSE developer.

I suggest to report this issue to the bug tracker of your distribution, asking them to apply that patch.



The 'OpenDocument thumbnailer' is from the Ubuntu and it is for the KDE4.
Code: Select all
Log of apt-cache show kde-thumbnailer-openoffice
Fri Sep 22 09:34:05 2017

Package: kde-thumbnailer-openoffice
Priority: optional
Section: universe/kde
Installed-Size: 72
Maintainer: Ubuntu Developers
...
Version: 1.0.0-0ubuntu5


A bug report - Ubuntu: https://bugs.launchpad.net/ubuntu/+sour ... ug/1711566


3) Use a generic thumbnailer

DIY: Keneric KDE (KF5) thumbnailer - https://store.kde.org/p/1080815/

The Keneric KDE (KF5) thumbnailer is a generic thumbnailer. It is intended to be used when there is no dedicated KDE thumbnailer and there is a fast and simple way to get the thumbnail image (oneliner).


eberkowitz wrote 1 year ago:
...I have already added code to create thumbnails for opendocument and openxml files.


The Keneric oneliner for the opendocument.text could be - stripPicture:
Code: Select all
application/vnd.oasis.opendocument.text)
   unzip -p "$fullname" Thumbnails/thumbnail.png > "$exportPicture"
   exit
   ;;



OpenDocument thumbnails

OpenDocument technical specification: https://en.wikipedia.org/wiki/OpenDocum ... cification
--> Document representation: https://en.wikipedia.org/wiki/OpenDocum ... esentation
... It uses filename extensions such as .odt, .ott, .ods, .odp ... etc. The package is a standard ZIP file with different filename extensions and with a defined structure of sub-documents...


--> Thumbnails (directory): https://en.wikipedia.org/wiki/OpenDocum ... rectory.29
Thumbnails is a separate folder for a document thumbnail. The thumbnail must be saved as “thumbnail.png”. A thumbnail representation of a document should be generated by default when the file is saved. It should be a representation of the first page, first sheet, etc. of the document. The required size for the thumbnails is 128x128 pixel. In order to conform to the Thumbnail Managing Standard (TMS) at http://www.freedesktop.org, thumbnails must be saved as 8bit, non-interlaced PNG image with full alpha transparency.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft