https://bugzilla.xfce.org/show_bug.cgi?id=14576

--- Comment #70 from HYPERION <[email protected]> ---
@All This is cleaner, seems to work better, and if confirmed : is not a
workaround anymore ;)

"/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" ||\
rm -f "$HOME/.cache/thumbnails/normal/$(echo -n "file://$2" | md5sum | cut -d "
" -f1).png" ||\
rm -f "$HOME/.thumbnails/normal/$(echo -n "file://$2" | md5sum | cut -d " "
-f1).png" ||\
rm -f "$HOME/.cache/thumbnails/large/$(echo -n "file://$2" | md5sum | cut -d "
" -f1).png" ||\
rm -f "$HOME/.thumbnails/large/$(echo -n "file://$2" | md5sum | cut -d " "
-f1).png" ||\
exit 1


@Andre : I think it could be provided in Tumbler

@Alex : thanks for the patch, commit, and OK to be mentioned in authors list
(my mail : h1p8r10n [[[AT]]] yandex [[[DOT]]] com )

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs

Reply via email to