linuxmint / nemo

File browser for Cinnamon
GNU General Public License v2.0
1.18k stars 299 forks source link

libreoffice thumbnails/previews should be shown by default #2550

Open alexanderdd opened 3 years ago

alexanderdd commented 3 years ago
 * Nemo version 4.4.3
 * windowed nemo
 * Distribution Linux Mint 19.3
 * 64 bit

Issue libreoffice/openoffice thumbnails/previews are not shown by default

Steps to reproduce

  1. create .odt files
  2. turn on previews in nemo
  3. see no previews for .odt files (nor for other libreoffice files)

Expected behaviour see previews

Other information aren't previews even stored within the file? I am waiting for this for several years now, am I the only one? Windows has it for a long time, also with .ods

mtwebster commented 3 years ago

Thumbnailer programs are needed for various file types. It looks like someone wrote one here for libreoffice: https://github.com/livanh/libreoffice-thumbnailer but it's never been packaged. Still, it's easy enough to install if you want:

apt install git imagemagick-6.q16
git clone https://github.com/livanh/libreoffice-thumbnailer.git
cd libreoffice-thumbnailer
sudo make install

nemo --quit
nemo

I'm going to see about maybe adding it to Mint.

Jeremy7701 commented 3 years ago

Well, I tried it and it seems to work. Although its got a couple of strange bits in the bash code.

However, a new (empty) document brings up an almost blank icon, so perhaps the old "Lorem Ipsum" style would be better. I've got a load of the old .doc formats saved by Libre-Office, so the mime-types probably should be extended. I haven't bothered because I don't look at them any more.

alexanderdd commented 3 years ago

However, a new (empty) document brings up an almost blank icon, so perhaps the old "Lorem Ipsum" style would be better.

If a document is empty or almost empty then I want to see it right in nemo. Its also the same for an empty pdf, right?

Jeremy7701 commented 3 years ago

I don't get given many almost empty PDF's! Also, it looks weird... Screenshot from 2020-11-07 12-52-15

Came across the ooo-thumbnailer package (for OpenOffice) and an out-dated image for icons looks like it would cover the almost empty file problem:- Screenshot from 2020-11-07 15-27-04

alexanderdd commented 3 years ago

Is it possible to use tumbler in Mint? Has support for a lot of filetypes, including odt... https://docs.xfce.org/xfce/thunar/4.16/tumbler

alexanderdd commented 3 years ago

Also, lets ignore the "empty file" situation for now.

Empty files are super rare, so we should not focus on a rare case, but focus on all users who are confused that you get thumbnails for everything except odt ods odp at the moment.