Question:
Ubuntu's file manager, Nautilus
, comes with a wide support for file previews. These thumbnails are handled by helper programs called thumbnailers.
The number of thumbnailers that come preinstalled with Ubuntu are limited and thus some more exotic file types aren't rendered by default.
What additional thumbnailers can I install to activate previews in these cases?
Related Q&As:
How can I instruct Nautilus to pre-generate thumbnails?
Note:
Feel free to contribute to this list by editing the community wiki answer. If you do so please follow the guidelines in this Meta discussion and use the preexisting pattern to keep the answer consistent.
General installation instructions
Thumbnailers in repositories and PPAs
A number of thumbnailers are pre-packaged and can be easily installed from the software center or the command line. These thumbnailers don't require any additional configuration and should work right after restarting nautilus. You can do so with:
Please consider reading these Q&As before installing anything from a PPA:
What are PPAs and how do I use them?
Are PPA's safe to add to my system and what are some "red flags" to watch out for?
Custom thumbnailing scripts on Ubuntu 11.04 and above
Custom thumbnailers that aren't available in repositories have to be installed manually. These are the steps you will have to take to install them:
Check out whether the script has any dependecies listed. If so, install them first.
Download the script and make it executable with
chmod a+x filethumbnailer
or via NautilusDesignate a folder in your file system for all future thumbnailers and move the script to it, e.g.
mkdir $HOME/.scripts/thumbnailers && mv filethumbnailer $HOME/.scripts/thumbnailers
Next you will have to register your script with Nautilus. To do so create a thumbnailer entry in
/usr/share/thumbnailers
. The entry should follow the naming schemefoo.thumbnailer
wherefoo
is an expression of your choice (herefile
):The thumbnailer specifications follow this scheme:
The
Exec
entry points to your thumbnailer script while theMimeType
field designates the related MimeTypes. Possible variables are:The specifications and variables will vary with each script. Simply copy and paste the content of the respective text box into the file and save it.
The thumbnailers should be up and running after restarting nautilus (
nautilus -q
).Custom thumbnailing scripts on Ubuntu 11.04 and below
Earlier versions of Ubuntu rely on GConf for thumbnailer associations. See here for more information.
Sources:
https://live.gnome.org/ThumbnailerSpec
https://bugzilla.redhat.com/show_bug.cgi?id=636819#c29
https://bugs.launchpad.net/ubuntu/+source/gnome-exe-thumbnailer/+bug/752578
http://ubuntuforums.org/showthread.php?t=1881360
Thumbnailers by file type
CHM files
Overview
Thumbnailer entry
Script
EPUB files
Overview
Thumbnailer Entry
Script
EXE files
Overview
Installation
ODP/ODS/ODT and other LibreOffice and Open Office files
Overview
Installation
ICNS files (Mac OSX Icons)
Overview
Nautilus does not generate thumbnails for Mac OSX icons due to some bugs, but support is built in
GdkPixbuf
.Script
This is a basic script to generate thumbnails for
.icns
files. A more robust version can be found at https://github.com/MestreLion/icns-thumbnailerInstall
An install script, along with the
.thumbnailer
file for Nautilus, are available at the icns-thumbnailer project repository