Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
xfce:tumbler:available_plugins [2020/08/30 09:50] – [Tumbler Plugins] kevinbowenxfce:tumbler:available_plugins [2022/01/02 06:19] – [Available Plugins] gael
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-====== Tumbler Plugins ======+{{ :xfce:xfce.tumbler.png?no link|}} 
 +====== Tumbler - Available Plugins ======
 The Tumbler package contains a D-Bus thumbnailing service based on the thumbnail management D-Bus specification. This is useful for generating thumbnail images of files.  The Tumbler package contains a D-Bus thumbnailing service based on the thumbnail management D-Bus specification. This is useful for generating thumbnail images of files. 
  
   * **[[#Configuration|Configuration]]**   * **[[#Configuration|Configuration]]**
 +  * **[[#Cover Thumbnailer|Cover Thumbnailer]]**
   * **[[#Customized Thumbnailers|Customized Thumbnailers]]**   * **[[#Customized Thumbnailers|Customized Thumbnailers]]**
-  * **[[#Customized Thumbnailers for .dds files|Customized Thumbnailers for .dds files]]** +  * **[[#Customized Thumbnailer for .dds files|Customized Thumbnailer for .dds files]]** 
-  * **[[#Customized Thumbnailers for folders|Customized Thumbnailers for folders]]** +  * **[[#Customized Thumbnailer for folders|Customized Thumbnailer for folders]]** 
-  * **[[#Customized Thumbnailers for text-based documents|Customized Thumbnailers for text-based documents]]** +  * **[[#Customized Thumbnailer for text-based documents|Customized Thumbnailer for text-based documents]]** 
-  * **[[#Customized Thumbnailers for comic book archives|Customized Thumbnailers for comic book archives]]** +  * **[[#Customized Thumbnailer for comic book archives|Customized Thumbnailer for comic book archives]]** 
-  * **[[#Customized Thumbnailers for webp content|Customized Thumbnailers for webp content]]**+  * **[[#Customized Thumbnailer for webp content|Customized Thumbnailer for webp content]]**
  
 ---- ----
Line 25: Line 27:
 === Video Thumbnailers === === Video Thumbnailers ===
   * __Cover-thumbnailer__   * __Cover-thumbnailer__
-     * Downloads video covers from omdbapi.com or themoviedb.org. [[xfce:thunar:tumbler#cover_thumbnailer|See details below ]]+     * Downloads video covers from omdbapi.com or themoviedb.org. [[#cover_thumbnailer|See details below]].
   * __ffmpeg-thumbnailer__   * __ffmpeg-thumbnailer__
      * - Details missing. Please add, if known -      * - Details missing. Please add, if known -
-     * Requires package: ??+     * Requires package: libffmpegthumbnailer4v5
   * __GStreamer-thumbnailer__   * __GStreamer-thumbnailer__
      * Provides video and audio cover (e.g. mp3, flac, etc) thumbnails.      * Provides video and audio cover (e.g. mp3, flac, etc) thumbnails.
Line 41: Line 43:
      * Provides thumbnails for different open document types, oasis.opendocument (presentation, text,chart, image), sun.xml ( calc, writer, draw, impress. math) and some more      * Provides thumbnails for different open document types, oasis.opendocument (presentation, text,chart, image), sun.xml ( calc, writer, draw, impress. math) and some more
      * Here the [[https://git.xfce.org/xfce/tumbler/tree/plugins/odf-thumbnailer/odf-thumbnailer-provider.c#n104|complete MIME Type List]]      * Here the [[https://git.xfce.org/xfce/tumbler/tree/plugins/odf-thumbnailer/odf-thumbnailer-provider.c#n104|complete MIME Type List]]
-  * __Customized thumbnailers__ +  * __GEpub-thumbnailer__ 
-     * All thumbnailers provided by .thumbnailer desktop files. [[xfce:thunar:tumbler#customized_thumbnailers|See examples below ]]+     * Provides thumbnails for EPUB files. 
 + 
 +=== External Thumbnailers === 
 +  * All thumbnailers provided by .thumbnailer desktop files. [[#customized_thumbnailers|See examples below]].
  
  
Line 75: Line 80:
 ===== Cover Thumbnailer ===== ===== Cover Thumbnailer =====
  
-By the default the cover thumbnailer is disabled. The reason is that it sends information (movie title extracted from the filename) to online services to retrieve a poster. This information is normally harmless, but it is private, so therefore it's not enabled by default.+By default the cover thumbnailer is disabled. The reason is that it sends information (movie title extracted from the filename) to online services to retrieve a poster. This information is normally harmless, but it is private, so therefore it's not enabled by default.
  
 In order to use the cover thumbnailer you need to copy the tumbler.rc file to your home directory as described above and set the ''Disabled'' key to ''false''. It is also advisable to set the Locations path to the directory where you store your movies. In order to use the cover thumbnailer you need to copy the tumbler.rc file to your home directory as described above and set the ''Disabled'' key to ''false''. It is also advisable to set the Locations path to the directory where you store your movies.
Line 121: Line 126:
 ==== Customized Thumbnailer for folders ==== ==== Customized Thumbnailer for folders ====
  
-Another example are albums cover thumbnails for folders in a music collection. Starting with thunar 1.8.2 a custom thumbnailer can be added to e.g. add a file  ''folder.jpg'' or ''cover.jpg'' into a folder and display its thumbnail instead of the default folder icon:+Another example are albums cover thumbnails for folders in a music collection. custom thumbnailer can be added to e.g. add a file  ''folder.jpg'' or ''cover.jpg'' into a folder and display its thumbnail instead of the default folder icon:
 <file txt /usr/share/thumbnailers/folder.thumbnailer> <file txt /usr/share/thumbnailers/folder.thumbnailer>
 [Thumbnailer Entry] [Thumbnailer Entry]
Line 190: Line 195:
 </file> </file>
  
-==== Customized Thumbnailer for webp content ====+==== Customized Thumbnailer for animated webp content ====
 Note: Make sure there is an image/webp mimetype defined in your system. Note: Make sure there is an image/webp mimetype defined in your system.
 <file txt /usr/share/thumbnailers/webp.thumbnailer> <file txt /usr/share/thumbnailers/webp.thumbnailer>
Line 199: Line 204:
 Name=webp Thumbnailer Name=webp Thumbnailer
 MimeType=image/webp; MimeType=image/webp;
-Exec=/usr/bin/convert -thumbnail %s %i %o+Exec=/usr/local/bin/webpthumbs %s %i %o 
 +</file> 
 + 
 +And supporting script: 
 + 
 +<file sh /usr/local/bin/textthumb> 
 +#!/bin/bash 
 + 
 +/usr/bin/webpmux -get frame 1 "$2" -o /tmp/w.webp > /dev/null 2<&
 + 
 +if [ $? -eq 0 ]; then 
 + /usr/bin/convert -thumbnail "$1" "/tmp/w.webp" "$3"  
 +else 
 + /usr/bin/convert -thumbnail "$1" "$2" "$3" 
 +fi 
 + 
 +rm /tmp/w.webp
 </file> </file>