Xfce Wiki

Sub domains
 

Differences

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

Link to this comparison view

Next revision
Previous revision
thunar:dev:thumbnailing [2022/03/09 23:45] – created alexxconsthunar:dev:thumbnailing [2024/01/22 16:32] (current) alexxcons
Line 1: Line 1:
- +  * Check which thumbnail is used by file with ''gio info -a 'thumbnail::path' <file.png>''
-  * Check which thumbnail is used by file with ''gio info -a 'thumbnail::path' <file.png>''+
  
   * Here a [[https://raw.githubusercontent.com/SKefalidis/DBusSharedThumbnailRepositoryCreator/main/sharedx.sh|script to generate shared thumbnails]] for a specific folder: (AS well linked in the UCA Wiki)   * Here a [[https://raw.githubusercontent.com/SKefalidis/DBusSharedThumbnailRepositoryCreator/main/sharedx.sh|script to generate shared thumbnails]] for a specific folder: (AS well linked in the UCA Wiki)
 +  * Start tumbler from source with debugging enabled
 +      * Build & install tumbler
 +      * killall tumblerd
 +      * rm -rf $HOME/.cache/thumbnails/*
 +      * G_MESSAGES_PREFIXED= G_MESSAGES_DEBUG=all /usr/local/lib/tumbler-1/tumblerd
 +  * Monitor tumbler DBus 'Ready' signals: 
 +
 +  dbus-monitor "interface='org.freedesktop.thumbnails.Thumbnailer1',member='Ready'"
 +
 +  * Monitor tumbler DBus 'Error signals:
 +
 +  dbus-monitor "interface='org.freedesktop.thumbnails.Thumbnailer1',member='Error'"
 +
 +  * Monitor tumbler DBus 'Finished' signals:
 +
 +  dbus-monitor "interface='org.freedesktop.thumbnails.Thumbnailer1',member='Finished'"
 +
 +  * Monitor tumbler DBus All signal:
 +
 +  dbus-monitor "interface='org.freedesktop.thumbnails.Thumbnailer1'"
  
   * Check some mandatory attributes of the thumbnail via ''identify -verbose <thumbnail.png>''   * Check some mandatory attributes of the thumbnail via ''identify -verbose <thumbnail.png>''
-    * Thumb::URI +      * Thumb::URI 
-    * Thumb::MTime+      * Thumb::MTime 
 +  * Checksum: 
 +      * The checksum used for the thumbnail name is build from the absolute URI of the file to thumbnail. It can be generated like this: 
 +      * Command: 
 + 
 +  echo -n file:///home/my/photos/me.png | md5sum 
 +   
 +  --> c6ee772d9e49320e97ec29a7eb5b1697.png 
  
 +    * Detailed documentation can be found here: https://specifications.freedesktop.org/thumbnail-spec/thumbnail-spec-latest.html#CREATION