Discussion:
[Thunar-dev] Thumbnails of PDF and comic book archive files with Thunar by Evince
Genghis Khan
2012-04-30 17:59:48 UTC
Permalink
Dear Evince and Thunar developers,

I have noticed that it possible to generate thumbnails of PDF and
comic book archive files in Nautilus and I was wondering what is
missing in order to have thumbnails with Thunar 1.0.2.


Does the following directory has the desired solution?

$ ls /usr/share/thumbnailers/
thunar-vfs-font-thumbnailer-1.desktop
whaaw-thumbnailer.desktop

$ cat /usr/share/thumbnailers/thunar-vfs-font-thumbnailer-1.desktop
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=X-Thumbnailer
Name=Thunar Font Thumbnailer
Comment=Creates thumbnails for font files
TryExec=/usr/libexec/thunar-vfs-font-thumbnailer-1
MimeType=application/x-font-otf;application/x-font-pcf;application/x-font-ttf;application/x-font-type1;
X-Thumbnailer-Exec=/usr/libexec/thunar-vfs-font-thumbnailer-1 -i %i -o
%o -s %s

# vi:set encoding=UTF-8:


Thank you.
--GK
Genghis Khan
2012-05-08 11:31:19 UTC
Permalink
The following files are attached to this message.

/usr/share/thumbnailers/atril-thumbnailer.desktop
Original: /usr/share/thumbnailers/pdf-thumbnailer.desktop

/usr/libexec/atril-thumbnailer
Original: /usr/libexec/pdf-thumbnailer

Make the script executable by running the following command:
# chmod +x atril-thumbnailer

The run this command:
$ /usr/libexec/thunar-vfs-update-thumbnailers-cache-1

Done.


Originally by Erlend Davidson <Erlend.Davidson at gmail.com>
* Erlend should replace the Email provider ;-)

Copied from thunar-thumbnailers from Salix OS
http://salix.enialis.net/i486/13.37/salix/xfce/thunar-thumbnailers-0.4.1-noarch-1lm.meta
http://salix.enialis.net/i486/13.37/salix/xfce/thunar-thumbnailers-0.4.1-noarch-1lm.txt
http://salix.enialis.net/i486/13.37/salix/xfce/thunar-thumbnailers-0.4.1-noarch-1lm.txz

License: GPL (version 2)


On Mon, 30 Apr 2012 20:59:48 +0300
Post by Genghis Khan
Dear Evince and Thunar developers,
I have noticed that it possible to generate thumbnails of PDF and
comic book archive files in Nautilus and I was wondering what is
missing in order to have thumbnails with Thunar 1.0.2.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atril-thumbnailer.desktop
Type: application/x-desktop
Size: 332 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20120508/3f300de7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atril-thumbnailer
Type: application/octet-stream
Size: 1205 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20120508/3f300de7/attachment.obj>
Loading...