[Xfce-bugs] [Bug 14576] Add support for folder.jpg

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Fri Aug 24 08:37:34 CEST 2018


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

--- Comment #70 from HYPERION <h1p8r10n at yandex.com> ---
@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.


More information about the Xfce-bugs mailing list