Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-06-25 10:06:40

Lucidae
Member
From: Australia
Registered: 2023-06-25
Posts: 7

[SOLVED] Tumbler & Customized Thumbnailer issues.

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

#2 2023-06-25 14:14:29

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [SOLVED] Tumbler & Customized Thumbnailer issues.

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

#3 2023-06-26 09:44:35

Lucidae
Member
From: Australia
Registered: 2023-06-25
Posts: 7

Re: [SOLVED] Tumbler & Customized Thumbnailer issues.

ToZ wrote:

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

#4 2023-06-26 11:13:12

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [SOLVED] Tumbler & Customized Thumbnailer issues.

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

#5 2023-06-26 11:38:56

Lucidae
Member
From: Australia
Registered: 2023-06-25
Posts: 7

Re: [SOLVED] Tumbler & Customized Thumbnailer issues.

ToZ wrote:

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

#6 2023-07-04 13:52:13

Tamaranch
Member
Registered: 2020-12-31
Posts: 321

Re: [SOLVED] Tumbler & Customized Thumbnailer issues.

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 smile

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 11 queries executed - Memory usage: 540.65 KiB (Peak: 541.93 KiB) ]