Xfce Forum

Sub domains
 

You are not logged in.

#1 2026-07-31 16:21:58

Flipside
Member
Registered: 2026-07-31
Posts: 4
LinuxFirefox 153.0

[SOLVED] Issues with custom thumbnail rendering for xcursor files

I'm trying to get Thunar to show me thumbnails for xcursor files. I tried the solution recommended in this thread, but it doesn't seem to be working properly as I'm only getting the generic image icon.

Interestingly, if I open a folder with an icon that I've previously opened in GIMP, it will properly render a thumbnail - for a fraction of a second before the generic image icon seemingly overrides it.

OS: CachyOS
XFCE version: 4.20



SOLVED

TL;DR If you're having the same issue I'm having, try making the thumbnailer target x-xcursor files in addition to (or instead of) xcursor files. Additionally, if you have a default application marked for xcursor files, reset it to default. One or either of these should fix the issue.

Last edited by Flipside (2026-08-01 11:59:00)

Offline

#2 2026-07-31 22:14:04

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,663
LinuxFirefox 153.0

Re: [SOLVED] Issues with custom thumbnail rendering for xcursor files

Hello and welcome.

Do you have the xcur2png and graphicsmagick packages installed?
Is the script file executable?

Try running tumbler in debug mode to see if it catches anything:

  • close thunar

  • kill the existing tumblerd process:

    pkill tumblerd
  • run tumberld in debug mode:

    G_MESSAGES_PREFIXED= G_MESSAGES_DEBUG=all /usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd
  • open thunar to the directory with xcursors and see what the logs say

Feel free to post back the debug outputs of tumblerd.


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

#3 2026-07-31 22:35:25

Flipside
Member
Registered: 2026-07-31
Posts: 4
LinuxFirefox 153.0

Re: [SOLVED] Issues with custom thumbnail rendering for xcursor files

ToZ wrote:

Hello and welcome.

Do you have the xcur2png and graphicsmagick packages installed?
Is the script file executable?

Try running tumbler in debug mode to see if it catches anything:

  • close thunar

  • kill the existing tumblerd process:

    pkill tumblerd
  • run tumberld in debug mode:

    G_MESSAGES_PREFIXED= G_MESSAGES_DEBUG=all /usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd
  • open thunar to the directory with xcursors and see what the logs say

Feel free to post back the debug outputs of tumblerd.

I had both xcur2png installed and the script marked executable. I didn't have graphicsmagick installed, just imagemagick, but installing it didn't fix the issue.

I tried running it in debug mode. The service was in a different place than in the command (/usr/lib/tumbler-1/tumblerd) but it otherwise worked fine? Here's what it recorded:

tumblerd-WARNING **: 18:30:48.772: Couldn't change nice value of process.

tumbler-WARNING **: 18:30:48.776: Failed to load plugin "tumbler-gepub-thumbnailer.so": libgepub-0.7.so.0: cannot open shared object file: No such file or directory
tumbler-pixbuf-thumbnailer-DEBUG: 18:30:48.776: Initializing the Tumbler Pixbuf Thumbnailer plugin
tumbler-desktop-thumbnailer-DEBUG: 18:30:48.777: Initializing the Tumbler Desktop Thumbnailer plugin
tumbler-poppler-thumbnailer-DEBUG: 18:30:48.807: Initializing the Tumbler Poppler PDF/PS Thumbnailer plugin
tumbler-ffmpeg-thumbnailer-DEBUG: 18:30:48.835: Initializing the Tumbler ffmpeg video thumbnailer plugin
tumbler-raw-thumbnailer-DEBUG: 18:30:48.836: Initializing the Tumbler RAW Thumbnailer plugin
tumbler-font-thumbnailer-DEBUG: 18:30:48.836: Initializing the Tumbler Font Thumbnailer plugin
tumbler-cover-thumbnailer-DEBUG: 18:30:48.837: Initializing the Tumbler Cover Thumbnailer plugin
tumbler-odf-thumbnailer-DEBUG: 18:30:48.837: Initializing the Tumbler ODF Thumbnailer plugin
tumbler-jpeg-thumbnailer-DEBUG: 18:30:48.837: Initializing the Tumbler JPEG Thumbnailer plugin
tumbler-DEBUG: 18:30:48.837: Thumbnailer "CoverThumbnailer" disabled in config file
tumbler-cover-thumbnailer-DEBUG: 18:30:48.837: Shutting down the Tumbler Cover Thumbnailer plugin
GLib-GIO-DEBUG: 18:30:48.838: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
tumbler-jpeg-thumbnailer-DEBUG: 18:30:48.838: Supported URI schemes:
  file
  nfs
  ftp
  ftps
  archive
  smb
  mtp
  trash
  afp
  ftpis
  sftp
  ssh
  recent
  gphoto2
  admin
  afc
  resource
tumbler-jpeg-thumbnailer-DEBUG: 18:30:48.838: Supported mime types:
  image/jpeg
tumbler-odf-thumbnailer-DEBUG: 18:30:48.838: Supported URI schemes:
  file
  nfs
  ftp
  ftps
  archive
  smb
  mtp
  trash
  afp
  ftpis
  sftp
  ssh
  recent
  gphoto2
  admin
  afc
  resource
tumbler-odf-thumbnailer-DEBUG: 18:30:48.838: Supported mime types:
  application/vnd.ms-powerpoint
  application/vnd.openxmlformats-officedocument.presentationml.presentation
  application/vnd.ms-excel
  application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
  application/msword
  application/vnd.openxmlformats-officedocument.wordprocessingml.document
  application/vnd.oasis.opendocument.presentation-template
  application/vnd.oasis.opendocument.presentation
  application/vnd.oasis.opendocument.spreadsheet-template
  application/vnd.oasis.opendocument.spreadsheet
  application/vnd.oasis.opendocument.text-template
  application/vnd.oasis.opendocument.text-master
  application/vnd.oasis.opendocument.text
  application/vnd.oasis.opendocument.graphics-template
  application/vnd.oasis.opendocument.graphics
  application/vnd.oasis.opendocument.chart
  application/vnd.oasis.opendocument.image
  application/vnd.oasis.opendocument.formula
  application/vnd.sun.xml.impress.template
  application/vnd.sun.xml.impress.template
  application/vnd.sun.xml.impress
  application/vnd.sun.xml.calc.template
  application/vnd.sun.xml.calc
  application/vnd.sun.xml.writer.global
  application/vnd.sun.xml.writer.template
  application/vnd.sun.xml.writer
  application/vnd.sun.xml.draw.template
  application/vnd.sun.xml.draw
  application/vnd.sun.xml.math
  image/openraster
tumbler-font-thumbnailer-DEBUG: 18:30:48.839: Supported URI schemes:
  file
  nfs
  ftp
  ftps
  archive
  smb
  mtp
  trash
  afp
  ftpis
  sftp
  ssh
  recent
  gphoto2
  admin
  afc
  resource
tumbler-font-thumbnailer-DEBUG: 18:30:48.839: Supported mime types:
  application/x-font-otf
  application/x-font-pcf
  application/x-font-ttf
  application/x-font-type1
tumbler-raw-thumbnailer-DEBUG: 18:30:48.839: Supported URI schemes:
  file
tumbler-raw-thumbnailer-DEBUG: 18:30:48.839: Supported mime types:
  image/x-adobe-dng
  image/x-canon-cr2
  image/x-canon-crw
  image/x-epson-erf
  image/x-nikon-nef
  image/x-nikon-nrw
  image/x-olympus-orf
  image/x-panasonic-raw
  image/x-panasonic-rw2
  image/x-pentax-pef
  image/x-sony-arw
  image/x-minolta-mrw
  image/x-fuji-raf
tumbler-ffmpeg-thumbnailer-DEBUG: 18:30:48.839: Supported URI schemes:
  file
  nfs
  ftp
  ftps
  archive
  smb
  mtp
  trash
  afp
  ftpis
  sftp
  ssh
  recent
  gphoto2
  admin
  afc
  resource
tumbler-ffmpeg-thumbnailer-DEBUG: 18:30:48.839: Supported mime types:
  video/3gpp
  video/3gpp2
  video/annodex
  video/dv
  video/isivideo
  video/mj2
  video/mp2t
  video/mp4
  video/mpeg
  video/ogg
  video/quicktime
  video/vnd.avi
  video/vnd.mpegurl
  video/vnd.radgamettools.bink
  video/vnd.radgamettools.smacker
  video/vnd.rn-realvideo
  video/vnd.vivo
  video/vnd.youtube.yt
  video/wavelet
  video/webm
  video/x-anim
  video/x-flic
  video/x-flv
  video/x-javafx
  video/x-matroska
  video/x-matroska-3d
  video/x-mjpeg
  video/x-mng
  video/x-ms-wmv
  video/x-nsv
  video/x-ogm+ogg
  video/x-sgi-movie
  video/x-theora+ogg
  application/mxf
  application/vnd.ms-asf
  application/vnd.rn-realmedia
  application/x-matroska
  application/ogg
tumbler-poppler-thumbnailer-DEBUG: 18:30:48.839: Supported URI schemes:
  file
  nfs
  ftp
  ftps
  archive
  smb
  mtp
  trash
  afp
  ftpis
  sftp
  ssh
  recent
  gphoto2
  admin
  afc
  resource
tumbler-poppler-thumbnailer-DEBUG: 18:30:48.839: Supported mime types:
  application/pdf
  application/postscript
tumbler-desktop-thumbnailer-DEBUG: 18:30:48.839: Supported URI schemes:
  file
  nfs
  ftp
  ftps
  archive
  smb
  mtp
  trash
  afp
  ftpis
  sftp
  ssh
  recent
  gphoto2
  admin
  afc
  resource
tumbler-desktop-thumbnailer-DEBUG: 18:30:48.839: Registered thumbnailer '/usr/share/thumbnailers/glycin-heif.thumbnailer'
tumbler-desktop-thumbnailer-DEBUG: 18:30:48.839: Supported mime types:
  image/avif
  image/heif
tumbler-desktop-thumbnailer-DEBUG: 18:30:48.839: Registered thumbnailer '/usr/share/thumbnailers/xcursor.thumbnailer'
tumbler-desktop-thumbnailer-DEBUG: 18:30:48.839: Supported mime types:
  image/xcursor
tumbler-desktop-thumbnailer-DEBUG: 18:30:48.839: Registered thumbnailer '/usr/share/thumbnailers/glycin-svg.thumbnailer'
tumbler-desktop-thumbnailer-DEBUG: 18:30:48.839: Supported mime types:
  image/svg+xml
  image/svg+xml-compressed
tumbler-desktop-thumbnailer-DEBUG: 18:30:48.839: Registered thumbnailer '/usr/share/thumbnailers/ffmpegthumbnailer.thumbnailer'
tumbler-desktop-thumbnailer-DEBUG: 18:30:48.839: Supported mime types:
  video/3gpp
  video/3gpp2
  video/annodex
  video/dv
  video/isivideo
  video/mj2
  video/mp2t
  video/mp4
  video/mpeg
  video/ogg
  video/quicktime
  video/vnd.avi
  video/vnd.mpegurl
  video/vnd.radgamettools.bink
  video/vnd.radgamettools.smacker
  video/vnd.rn-realvideo
  video/vnd.vivo
  video/vnd.youtube.yt
  video/wavelet
  video/webm
  video/x-anim
  video/x-flic
  video/x-flv
  video/x-javafx
  video/x-matroska
  video/x-matroska-3d
  video/x-mjpeg
  video/x-mng
  video/x-ms-wmv
  video/x-nsv
  video/x-ogm+ogg
  video/x-sgi-movie
  video/x-theora+ogg
  application/mxf
  application/vnd.ms-asf
  application/vnd.rn-realmedia
  application/x-matroska
  application/ogg
tumbler-desktop-thumbnailer-DEBUG: 18:30:48.839: Registered thumbnailer '/usr/share/thumbnailers/gsf-office.thumbnailer'
tumbler-desktop-thumbnailer-DEBUG: 18:30:48.839: Supported mime types:
  application/msword
  application/vnd.ms-excel
  application/vnd.ms-powerpoint
  application/vnd.oasis.opendocument.chart
  application/vnd.oasis.opendocument.formula
  application/vnd.oasis.opendocument.graphics
  application/vnd.oasis.opendocument.graphics-template
  application/vnd.oasis.opendocument.image
  application/vnd.oasis.opendocument.presentation
  application/vnd.oasis.opendocument.presentation-template
  application/vnd.oasis.opendocument.spreadsheet
  application/vnd.oasis.opendocument.spreadsheet-template
  application/vnd.oasis.opendocument.text
  application/vnd.oasis.opendocument.text-master
  application/vnd.oasis.opendocument.text-template
  application/vnd.openxmlformats-officedocument.presentationml.presentation
  application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
  application/vnd.openxmlformats-officedocument.wordprocessingml.document
  application/vnd.sun.xml.calc
  application/vnd.sun.xml.calc.template
  application/vnd.sun.xml.draw
  application/vnd.sun.xml.draw.template
  application/vnd.sun.xml.impress
  application/vnd.sun.xml.impress.template
  application/vnd.sun.xml.math
  application/vnd.sun.xml.writer
  application/vnd.sun.xml.writer.global
  application/vnd.sun.xml.writer.template
tumbler-desktop-thumbnailer-DEBUG: 18:30:48.839: Registered thumbnailer '/usr/share/thumbnailers/glycin-jxl.thumbnailer'
tumbler-desktop-thumbnailer-DEBUG: 18:30:48.839: Supported mime types:
  image/jxl
tumbler-desktop-thumbnailer-DEBUG: 18:30:48.840: Registered thumbnailer '/usr/share/thumbnailers/glycin-image-rs.thumbnailer'
tumbler-desktop-thumbnailer-DEBUG: 18:30:48.840: Supported mime types:
  image/jpeg
  image/png
  image/apng
  image/gif
  image/webp
  image/tiff
  image/x-tga
  image/vnd-ms.dds
  image/x-dds
  image/bmp
  image/vnd.microsoft.icon
  image/x-exr
  image/x-portable-bitmap
  image/x-portable-graymap
  image/x-portable-pixmap
  image/x-portable-anymap
  image/x-qoi
  image/qoi
tumbler-pixbuf-thumbnailer-DEBUG: 18:30:48.840: Supported URI schemes:
  file
  nfs
  ftp
  ftps
  archive
  smb
  mtp
  trash
  afp
  ftpis
  sftp
  ssh
  recent
  gphoto2
  admin
  afc
  resource
tumbler-pixbuf-thumbnailer-DEBUG: 18:30:48.840: Supported mime types:
  image/webp
  image/x-olympus-orf
  image/x-exr
  image/jxl
  image/x-win-bitmap
  image/x-bmp
  image/vnd.adobe.svg+xml
  image/x-sony-arw
  image/x-ico
  image/heif
  image/tiff
  image/gif
  image/png
  image/x-epson-erf
  image/svg+xml-compressed
  image/qoi
  image/x-xpixmap
  image/svg
  image/icon
  image/x-dds
  image/x-nikon-nef
  image/x-fuji-raf
  image/svg+xml
  image/x-MS-bmp
  image/x-xbitmap
  image/x-adobe-dng
  image/heic
  image/qtif
  text/ico
  image/x-portable-graymap
  image/vnd.microsoft.icon
  image/x-canon-crw
  image/x-icon
  image/x-icns
  image/x-portable-anymap
  image/x-pentax-pef
  text/xml-svg
  image/x-minolta-mrw
  image/wmf
  image/x-tga
  image/jpeg
  image/x-portable-pixmap
  application/ico
  image/x-qoi
  image/bmp
  application/x-navi-animation
  image/avif
  image/ico
  image/x-portable-bitmap
  image/x-quicktime
  image/raw
  image/svg-xml
  image/x-wmf
  image/x-canon-cr2
tumbler-xdg-cache-DEBUG: 18:30:48.842: Initializing the Tumbler XDG cache plugin
tumblerd-DEBUG: 18:30:48.850: Ready to handle requests

Didn't throw any errors that I saw, but it didn't report anything on moving to the cursors folder either.

Offline

#4 2026-08-01 01:36:07

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,663
LinuxFirefox 153.0

Re: [SOLVED] Issues with custom thumbnail rendering for xcursor files

Sorry, I meant ImageMagick, I'm confusing freebsd and linux packages.

tumbler-desktop-thumbnailer-DEBUG: 18:30:48.839: Registered thumbnailer '/usr/share/thumbnailers/xcursor.thumbnailer'
tumbler-desktop-thumbnailer-DEBUG: 18:30:48.839: Supported mime types:
  image/xcursor

It's recognized.

but it didn't report anything on moving to the cursors folder either.

That's not right.

Can you post back the output of the following commands:

stat /usr/local/bin/xcursorthumbs
xdg-mime query filetype CURSORFILE

...where CURSORFILE is the path and name of an actual cursor file for which the thumbnail isn't showing up.


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

#5 2026-08-01 03:15:09

Flipside
Member
Registered: 2026-07-31
Posts: 4
LinuxFirefox 153.0

Re: [SOLVED] Issues with custom thumbnail rendering for xcursor files

Respectively:

  File: /usr/local/bin/xcursorthumbs
  Size: 211       	Blocks: 8          IO Block: 4096   regular file
Device: 8,2	Inode: 2886658     Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2026-07-31 11:48:58.419224162 -0400
Modify: 2026-07-31 11:48:58.419224162 -0400
Change: 2026-07-31 11:49:13.122452844 -0400
 Birth: 2026-07-31 11:48:58.419224162 -0400
image/x-xcursor

After getting that second result, I created another thumbnailer to do the same thing to that file type (thinking maybe it was just a name thing), but no change occurred. And checking the debug log again, there was once again no response from it.

Offline

#6 2026-08-01 10:19:14

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,663
LinuxFirefox 153.0

Re: [SOLVED] Issues with custom thumbnail rendering for xcursor files

Strange.

As a sanity check, can you post the contents of your /usr/share/thumbnailers/xcursor.thumbnailer and /usr/local/bin/xcursorthumbs files?

And try running that script in debug mode to see exactly what's happening:

bash -x xcursorthumbs PATH/TO/CURSOR/FILE . 64

...change PATH/TO/CURSORFILE to point to and actual cursor file. The output, if it works, should show up in your current directory (make sure you can write to it).


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

#7 2026-08-01 11:57:10

Flipside
Member
Registered: 2026-07-31
Posts: 4
LinuxFirefox 153.0

Re: [SOLVED] Issues with custom thumbnail rendering for xcursor files

Okay, I figured out the issue. Because I had previously used GIMP to open the xcursor files, it was overriding the thumbnails with its own thumbnails. I reset the Default Application and the thumbnails started showing up.

I had tried this before, but at the time the thumbnailer was targeting xcursor instead of x-xcursor, so it didn't change anything.

Thank you for your help!

Last edited by Flipside (2026-08-01 11:57:37)

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 586.2 KiB (Peak: 603.61 KiB) ]