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

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed Aug 22 08:38:58 CEST 2018


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

--- Comment #63 from HYPERION <h1p8r10n at yandex.com> ---
To support more images files :

"/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" ||\
exit 1

AND

"/usr/share/thumbnailers/folder.thumbnailer" as follow :

[Thumbnailer Entry]
Version=1.0
Encoding=UTF-8
Type=X-Thumbnailer
Name=Folder Thumbnailer
MimeType=inode/directory;
Exec=/usr/bin/folder-thumbnailer %s %i %o

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list