You are not logged in.
Thunar doesn't show .xbm images as thumbnails. How to enable it?
Last edited by chdslv (2021-04-21 09:22:07)
Offline
The gdk-pixbuf thumbnailer is supposed to provide xmb thumbnails:
$ xdg-mime query filetype circles.xbm
image/x-xbitmap
$ fgrep -ri bitmap /usr/share/thumbnailers/ | awk -F':' '{print $1}'
/usr/share/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer
... but it doesn't seem to work. I'm not sure if the issue is with tumbler or with gdk-pixbuf.
Assuming tumbler version at least 0.2.0, you could create a desktop thumbnailer file and grant it highest priority - this will make it work. To do so:
Create the file /usr/share/thumbnailers/xbm.thumbnailer with the following content:
[Thumbnailer Entry]
Version=1.0
Encoding=UTF-8
Type=X-Thumbnailer
Name=xbm Thumbnailer
MimeType=image/x-xbitmap;
Exec=/usr/bin/convert -thumbnail %s %i %o
...note that the imagemagick package needs to be installed for the convert command.
Copy /etc/xdg/tumbler/tumbler.rc to ~/.config/tumbler (create the directory if it doesn't exist)
Change the priority the "DesktopThumbnailer" entry to 3 (so it looks like):
# thumbnailers provided by .thumbnailer desktop files
[DesktopThumbnailer]
Disabled=false
Priority=3
Locations=
Excludes=
MaxFileSize=2147483648
You need to restart tumbler and thunar - probably easiest to log out and back in again.
To properly fix this, you might want to start with a tumbler bug report but it might be an issue with gdk-pixbuf.
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
Thanks. I did all that, but it didn't work.
This is Arch Linux and the system is Openbox. But, on XFCE too xbm files couldn't be seen, bug reports had been placed.
Last edited by chdslv (2021-04-20 13:45:06)
Offline
Thanks. I did all that, but it didn't work.
This is Arch Linux and the system is Openbox. But, on XFCE too xbm files couldn't be seen, bug reports had been placed.
I did all my testing on Arch linux and it does work. As a sanity check, can you post back the following:
xdg-mime query filetype FILE.xbm
...where "FILE.xbm" is the name of the xbm file.
cat /usr/share/thumbnailers/xbm.thumbnailer
cat ~/.config/tumbler/tumbler.rc
which convert
ps -ef | grep tumblerd
Also maybe reboot just to be sure (some Xfce processes remaining running if you just log out.
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
I got it working, thanks!
Reinstalled tumbler and gdk-pixbuf2. https://gitlab.xfce.org/xfce/tumbler/-/ … note_30616
Last edited by chdslv (2021-04-21 09:24:20)
Offline
[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 535.48 KiB (Peak: 536.33 KiB) ]