In Mint's default file browser (which is Nemo, as far as I know), I'd like to set the icon of the default application for a certain file type as the thumbnail for all files of this file type. For example I'd like all .odt files to have the icon of the LibreOffice Writer as their thumbnail, and all .pdf files to have the icon of the respective PDF editor. What is the best way to accomplish this?

  • I don't can give you a complete answer. As far i recognice the Pictures are in /path/to/iconset/icon-size/mimetypes/* and /path/to/iconset/scalable/mimetypes/*
    – user192526
    Dec 11, 2016 at 17:39
  • But that would mean I had to do it manually for each file type... But it would be something so thanks for the hint!
    – Raven
    Dec 11, 2016 at 17:58

3 Answers 3


Install dconf-tools, Navigate to org > gnome > desktop > thumbnailer, Paste the MIME type in the value field of disable key (as described for PDF files here).

This will not delete existing thumbnails for files, but once a file is updated or for new files - no thumbnails will be produced.

For pdf: 'application/pdf'

For odt: 'application/vnd.oasis.opendocument.text' (A full list of LibreOffice mime types can be found here).


I'm going to guess that you are seeing "previews" instead of icons.

Nemo has three views: icon view, list view, and compact view.

By default, in the icon and list views, for files on your local disk, Nemo will show you previews of the document instead of an icon for it's associated application. For files on a remote file system, and in compact view, you'll see the application icon.

Use Edit->Preferences and then the Preview tab to change that config.

  • Well as far as I have seen it I can only disable the preview completely for all file types but it would still be nice if I had a preview of let's say images and videos...
    – Raven
    Dec 16, 2016 at 19:44

I don't use neither Mint nor Nemo but thumbnailer are controlled by files placed in this folder /usr/share/thumbnailers/

e.g. if you don't want ".odt" thumbnails, exclude that extension from the right thumbnailer, in my case gsf-office.thumbnailer

  • I don't have an office thumbnailer nor one for the pdfs...
    – Raven
    Dec 18, 2016 at 13:46
  • @Raven, what is the output of ls /usr/share/thumbnailers/?
    – mattia.b89
    Dec 18, 2016 at 21:36
  • The output is gnome-font-viewer.thumbnailer xplayer.thumbnailer xreader.thumbnailer
    – Raven
    Dec 20, 2016 at 7:25
  • @Raven, try to investigate on them, or better on the xreader one... post the output of cat /usr/share/thumbnailers/xreader.thumbnailer
    – mattia.b89
    Dec 20, 2016 at 16:38
  • [Thumbnailer Entry] TryExec=xreader-thumbnailer Exec=xreader-thumbnailer -s %s %u %o MimeType=application/pdf;application/x-bzpdf;application/x-gzpdf;application/x-xzpdf;application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps;application/x-dvi;application/x-bzdvi;application/x-gzdvi;image/vnd.djvu;image/tiff;application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;image/*;application/oxps;application/vnd.ms-xpsdocument;application/epub+zip;
    – Raven
    Dec 20, 2016 at 17:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .