[Xfce-bugs] [Bug 14576] Add support for folder.jpg
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Thu Aug 23 08:48:46 CEST 2018
https://bugzilla.xfce.org/show_bug.cgi?id=14576
--- Comment #69 from HYPERION <h1p8r10n at yandex.com> ---
@All
Seems that I found the reason for persistant thumbs, and a workaround :)
The reason : each thumb file in the cache is named after the md5 hash of the
URI of the thumbed object (here : the folder). folder change signal is handled
correctly by Thunar and Tumbler on deletion of the folder.jpg (thumbed file),
but the thumb is not refreshed because the thumbed file is note the same as the
thumbed object.
The workaround :
"/usr/bin/folder-thumbnailer" as follow :
#!/bin/bash
convert -thumbnail "$1" "$2/folder.jpg" "$3" ||\
convert -thumbnail "$1" "$2/.folder.jpg" "$3" ||\
convert -thumbnail "$1" "$2/folder.png" "$3" ||\
convert -thumbnail "$1" "$2/cover.jpg" "$3" ||\
convert -thumbnail "$1" "/usr/share/icons/$(xfconf-query -c xsettings -p
/Net/ThemeName)/128x128/places/folder.png" "$3" ||\
exit 1
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Xfce-bugs
mailing list