Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-04-26 06:30:30

RethLibc
Member
Registered: 2025-04-26
Posts: 3
MacintoshSafari 15.1

[SOLVED] thunar is unable to display the thumbnail of the x11 cursor

os : arch linux
xfce 4.20
The optional dependency packages have all been installed, but the cursor image of x11 still does not display
https://fars.ee/ylei.png
I don't know if thunar doesn't support displaying x11 cursor images hmm

Last edited by RethLibc (2025-05-02 23:54:54)

Offline

#2 2025-04-26 10:33:15

eriefisher
Wanderer
From: ON, Canada
Registered: 2008-10-25
Posts: 718
LinuxFirefox 137.0

Re: [SOLVED] thunar is unable to display the thumbnail of the x11 cursor

I'm not sure what type of image they are but it's likely because of a missing library. Maybe bitmap?


I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc

Offline

#3 2025-04-26 10:59:18

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,953
LinuxFirefox 137.0

Re: [SOLVED] thunar is unable to display the thumbnail of the x11 cursor

You can create  custom desktop thumbnailer for them.

  1. Install the packages "imagemagick" and "xcur2png"

  2. Create the file /usr/share/thumbnailers/xcusrsor.thumbnailer with the following content:

    [Thumbnailer Entry]
    Version=1.0
    Encoding=UTF-8
    Type=X-Thumbnailer
    Name=Xcursor Thumbnailer
    MimeType=image/x-xcursor;
    Exec=/usr/local/bin/xcursorthumbs %i %o %s
  3. Create the file /usr/local/bin/xcursorthumbs with the following content:

    #!/usr/bin/env bash
    
    if TEMP=$(mktemp --directory --tmpdir tumbler-xcur-XXXXXX); then
    	xcur2png -d $TEMP -q -c - $1 > /dev/null 2>&1	
    	convert -thumbnail "$3" "$TEMP/*_000.png" "$2" &>/dev/null
    	rm -rf $TEMP
    fi

    ...and make the file executable.

  4. Either log out and back in again, or kill both the thunar and tumblerd process to force a re-read of the new configurations.

cursors.png


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#4 2025-05-02 14:12:43

RethLibc
Member
Registered: 2025-04-26
Posts: 3
MacintoshSafari 15.1

Re: [SOLVED] thunar is unable to display the thumbnail of the x11 cursor

@Toz Hello, the problem hasn't been solved yet,He still doesn't work
1. It seems that archlinux does not consider Tumbler as a dependency of xfce4, which means that my system does not have Tumbler installed,Then I installed Tumbler
2. It seems that it has less dependence:

May 02 21:50:38 thinkpad tumblerd[1395]: Failed to load plugin "tumbler-odf-thumbnailer.so": libxml2.so.16: cannot open shared object file: No such file or director     y
   1 May 02 21:50:39 thinkpad tumblerd[1395]: Failed to load plugin "tumbler-gepub-thumbnailer.so": libgepub-0.7.so.0: cannot open shared object file: No such file or di     rectory
1455 May 02 21:50:39 thinkpad tumblerd[1395]: Failed to load plugin "tumbler-raw-thumbnailer.so": libopenrawgnome.so.9: cannot open shared object file: No such file or d     irectory

3 .

resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libxml2 (2.14.2-2) breaks dependency 'libxml2.so=2-64' required by ardour
:: installing libxml2 (2.14.2-2) breaks dependency 'libxml2.so=2-64' required by electron31
:: installing libxml2 (2.14.2-2) breaks dependency 'libxml2.so=2-64' required by electron34
:: installing libxml2 (2.14.2-2) breaks dependency 'libxml2.so=2-64' required by electron35
:: installing libxml2 (2.14.2-2) breaks dependency 'libxml2.so=2-64' required by libarchive
:: installing libxml2 (2.14.2-2) breaks dependency 'libxml2.so=2-64' required by sane

It seems that I have to update the system…

I think it should be caused by the failed startup of tumbler?

Last edited by RethLibc (2025-05-02 14:15:44)

Offline

#5 2025-05-02 20:01:26

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,953
LinuxFirefox 138.0

Re: [SOLVED] thunar is unable to display the thumbnail of the x11 cursor

2. Those are optional dependencies. See: https://archlinux.org/packages/extra/x86_64/tumbler/.

3. Where is this error message from?


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#6 2025-05-02 23:54:22

RethLibc
Member
Registered: 2025-04-26
Posts: 3
MacintoshSafari 15.1

Re: [SOLVED] thunar is unable to display the thumbnail of the x11 cursor

3. Where is this error message from?

This was an error reported by pacman, but I have solved it now

68155a867d89d.png

Thank you for your help!;)

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.014 seconds, 8 queries executed - Memory usage: 547.82 KiB (Peak: 548.66 KiB) ]