You are not logged in.
Hi, I recently upgraded to Debian 12 with XFCE 4.18 and I'm having difficulties getting tumbler and folder thumbnails working in thunar.
I followed the documentation here as usual;
https://docs.xfce.org/xfce/tumbler/available_plugins
Specifically the section: Customized Thumbnailer for folders
I also installed the ImageMagick dependency.
The following is my output from; journalctl | grep tumblerd
...
Jun 25 19:43:34 debian systemd[4207]: Started tumblerd.service - Thumbnailing service.
Jun 25 19:44:48 debian tumblerd[4843]: Malformed command line "sh -c '~/bin/folder-thumbnailer %s %i %o %u'": Text ended before matching quote was found for '. (The text was “sh -c '~/bin/folder-thumbnailer 128 '/mnt/600/Music/Jazz/Anita O'\''Day - Anita Sings the Most (1957)' '/tmp/tumbler-DL9061.png' 'file:///mnt/600/Music/Jazz/Anita%20O'\''Day%20-%20Anita%20Sings%20the%20Most%20(1957)''”)
...
PS: I believe there is a mistake in the documentation here.
The name of the template file shown is: ~/bin/folder-thumbnailer
But the next instruction points to another path: chmod u+x /usr/bin/folder-thumbnailer
Last edited by Lucidae (2023-07-05 03:14:35)
Offline
You are right - the path is wrong in the documentation. It should be:
chmod u+x ~/bin/folder-thumbnailer
I have fixed the documentation. Thanks for the catch.
Does running the above command fix the issue for you?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
You are right - the path is wrong in the documentation. It should be:
chmod u+x ~/bin/folder-thumbnailer
I have fixed the documentation. Thanks for the catch.
Does running the above command fix the issue for you?
File/paths are correct, and it has permissions.
Both scripts were copied and pasted directly from the wiki, so I don't understand where I went wrong.
Last edited by Lucidae (2023-06-26 09:48:16)
Offline
It looks like the error message is related to the folder name - its not properly processing the single quote in "Anita O'Day". Looking at it further, it doesn't seem to be processing the "~" in the folder.thumbnailer file. Try this instead as your folder.thumbnailer file:
[Thumbnailer Entry]
Version=1.0
Encoding=UTF-8
Type=X-Thumbnailer
Name=Folder Thumbnailer
MimeType=inode/directory;
Exec=/home/XXXXXXXX/bin/folder-thumbnailer %s %i %o %u
...and change "XXXXX" to be your system username.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
It looks like the error message is related to the folder name - its not properly processing the single quote in "Anita O'Day". Looking at it further, it doesn't seem to be processing the "~" in the folder.thumbnailer file. Try this instead as your folder.thumbnailer file:
[Thumbnailer Entry] Version=1.0 Encoding=UTF-8 Type=X-Thumbnailer Name=Folder Thumbnailer MimeType=inode/directory; Exec=/home/XXXXXXXX/bin/folder-thumbnailer %s %i %o %u
...and change "XXXXX" to be your system username.
Yes that solves it, thumbnails are now loading properly. Thank you, ToZ.
Offline
I've fixed the doc so that quoting is done correctly while preserving the use of ~:
Exec=sh -c '~/bin/folder-thumbnailer "$@"' _ %s %i %o %u
Thanks for reporting this and thanks @ToZ for fixing the typo
Offline
[ Generated in 0.011 seconds, 11 queries executed - Memory usage: 540.65 KiB (Peak: 541.93 KiB) ]