Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-04-22 06:46:58

sushi
Member
Registered: 2019-04-22
Posts: 81

[SOLVED] Thunar not showing up /Music thumbnails.

Hi,

I have two machines under Arch respectively one Antergos and the second pure Arch. By the first one the icons (cover.jpg) are generated by Thunar without problems but on the pure Arch machine they are not. I'm using the exactly same method on both which is described in the official doc (Customized Thumbnailer for folders) :

https://docs.xfce.org/xfce/thunar/tumbler

No dependency required by Tumbler/Thunar on both systems.

Thanks for your help.

Edit : Maybe related, on the Antergos machine I can see icons in mime-editor but not on the pure Arch machine.

Last edited by sushi (2019-04-23 06:06:33)

Offline

#2 2019-04-22 12:34:24

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

Re: [SOLVED] Thunar not showing up /Music thumbnails.

Can we try a sanity check?

ls -l /usr/share/thumbnailers/
cat  /usr/share/thumbnailers/folder.thumbnailer
ls -l /usr/bin | grep folder
cat /usr/bin/folder-thumbnailer

Edit : Maybe related, on the Antergos machine I can see icons in mime-editor but not on the pure Arch machine.

What does this mean? You don't see any icons in the Mime Type Editor?


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 2019-04-22 13:37:48

sushi
Member
Registered: 2019-04-22
Posts: 81

Re: [SOLVED] Thunar not showing up /Music thumbnails.

ls -l /usr/share/thumbnailers/
total 20
-rw-r--r-- 1 root root  648 26 aoû  2016 ffmpegthumbnailer.thumbnailer
-rw-r--r-- 1 root root  161 18 avr 11:36 folder.thumbnailer
-rw-r--r-- 1 root root  560 28 fév 17:30 gdk-pixbuf-thumbnailer.thumbnailer
-rw-r--r-- 1 root root 1304 19 déc 02:13 gsf-office.thumbnailer
-rw-r--r-- 1 root root  158 16 fév 00:40 librsvg.thumbnailer

cat  /usr/share/thumbnailers/folder.thumbnailer
[Thumbnailer Entry]
Version=1.0
Encoding=UTF-8
Type=X-Thumbnailer
Name=Folder Thumbnailer
MimeType=inode/directory;
Exec=/usr/bin/folder-thumbnailer %s %i %o %u

ls -l /usr/bin | grep folder
-rwxr-xr-x 1 root root      627 18 avr 11:37 folder-thumbnailer

cat /usr/bin/folder-thumbnailer
#!/bin/bash

convert -thumbnail "$1" "$2/folder.jpg" "$3" 1>/dev/null 2>&1 ||\
convert -thumbnail "$1" "$2/.folder.jpg" "$3" 1>/dev/null 2>&1 ||\
convert -thumbnail "$1" "$2/folder.png" "$3" 1>/dev/null 2>&1 ||\
convert -thumbnail "$1" "$2/cover.jpg" "$3" 1>/dev/null 2>&1 ||\
rm -f "$HOME/.cache/thumbnails/normal/$(echo -n "$4" | md5sum | cut -d " " -f1).png" ||\
rm -f "$HOME/.thumbnails/normal/$(echo -n "$4" | md5sum | cut -d " " -f1).png" ||\
rm -f "$HOME/.cache/thumbnails/large/$(echo -n "$4" | md5sum | cut -d " " -f1).png" ||\
rm -f "$HOME/.thumbnails/large/$(echo -n "$4" | md5sum | cut -d " " -f1).png" ||\
exit 1

What does this mean? You don't see any icons in the Mime Type Editor?

Exactly, none on the pure Arch machine but I see them on Antergos machine :

1555940837.png

Thanks

Offline

#4 2019-04-22 14:25:27

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

Re: [SOLVED] Thunar not showing up /Music thumbnails.

Are the mime icons missing anywhere else? Like in Thunar?

Can you create a secondary test account on your computer and check there (with all the default settings)?


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 2019-04-22 14:43:25

sushi
Member
Registered: 2019-04-22
Posts: 81

Re: [SOLVED] Thunar not showing up /Music thumbnails.

Nope, they are only missing in mime-editor but I have them everywhere else. In Thunar they are only missing in /Music but I have them everywhere else.

Before I had Cover-Thumbnailer installed on my Antergos machine and I removed it after /usr/bin/folder-thumbnailer was created. I'm asking myself if there is not a dependency missing on my Arch machine ? But which..?

pacman -Qi tumbler
Nom                      : tumbler
Version                  : 0.2.3-2
Description              : D-Bus service for applications to request thumbnails
Architecture             : x86_64
URL                      : http://www.xfce.org/
Licences                 : GPL2  LGPL
Groupes                  : xfce4
Fournit                  : --
Dépend de                : gdk-pixbuf2
Dépendances opt.         : ffmpegthumbnailer: for video thumbnails [installé]
                           poppler-glib: for PDF thumbnails [installé]
                           libgsf: for ODF thumbnails [installé]
                           libopenraw: for RAW thumbnails [installé]
                           freetype2: for font thumbnails [installé]
Requis par               : --
Optionnel pour           : thunar
Est en conflit avec      : --
Remplace                 : --
Taille installée         : 823.00 KiB
Paqueteur                : Evangelos Foutras <evangelos@foutrelis.com>
Compilé le               : ven 23 nov 2018 09:54:14 CET
Installé le              : jeu 18 avr 2019 18:08:35 CEST
Motif d’installation     : Explicitement installé
Script d’installation    : Non
Validé par               : Signature

pacman -Qi thunar
Nom                      : thunar
Version                  : 1.8.4-2
Description              : Modern file manager for Xfce
Architecture             : x86_64
URL                      : https://docs.xfce.org/xfce/thunar/start
Licences                 : GPL2  LGPL2.1
Groupes                  : xfce4
Fournit                  : --
Dépend de                : desktop-file-utils  libexif  hicolor-icon-theme  libnotify  libgudev  exo  libxfce4util  libxfce4ui
                           libpng
Dépendances opt.         : gvfs: for trash support, mounting with udisk and remote filesystems [installé]
                           xfce4-panel: for trash applet [installé]
                           tumbler: for thumbnail previews [installé]
                           thunar-volman: manages removable devices [installé]
                           thunar-archive-plugin: create and deflate archives
                           thunar-media-tags-plugin: view/edit id3/ogg tags [installé]
Requis par               : thunar-media-tags-plugin  thunar-volman  xfdesktop
Optionnel pour           : --
Est en conflit avec      : --
Remplace                 : --
Taille installée         : 5.80 MiB
Paqueteur                : Evangelos Foutras <evangelos@foutrelis.com>
Compilé le               : mar 16 avr 2019 09:40:35 CEST
Installé le              : mer 17 avr 2019 09:00:16 CEST
Motif d’installation     : Explicitement installé
Script d’installation    : Non
Validé par               : Signature

I can create a account but I don't believe that this gona change anything.

Offline

#6 2019-04-22 17:00:44

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

Re: [SOLVED] Thunar not showing up /Music thumbnails.

sushi wrote:

I can create a account but I don't believe that this gona change anything.

I would like to rule out some sort of configuration change with your existing account. Testing with a secondary account will help to determine if its a systemic issues or a single profile issue.


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

#7 2019-04-22 18:46:33

sushi
Member
Registered: 2019-04-22
Posts: 81

Re: [SOLVED] Thunar not showing up /Music thumbnails.

I have created a new "test" account with the same result, no music thumbnails are generated.

I have just copied some music folders in ~/Music without touching anything else just after launching startxfce4. All folders containing a cover.jpg which are generated.

Offline

#8 2019-04-22 22:22:58

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

Re: [SOLVED] Thunar not showing up /Music thumbnails.

Hmmm. I can confirm that it works fine on my Arch system.

Do you have an ~/.xsession-errors file? If so, can you post it's contents after a fresh boot and an opening of thunar to display a directory which should  have a cover.jpg file?

Also, can you post the full contents of a directory that should have a folder thumbnail? Or alternately, start with a test folder, drop a cover.jpg file in it, traverse back to show the parent folder listing and Ctrl+R to refresh the display. (I want to make sure that there isn't another file that is taking precedence).

And finally, can you run tumbler like this:

pkill -9 tumblerd; /usr/lib/tumbler-1/tumblerd

...traverse to a thunar listing that should show a cover,jpg file and note if anything is displayed in the terminal window (we may need to build tumbler with debugging enabled to get a deeper view into what is happening).

Edit: Do you have imagemagick installed?

Last edited by ToZ (2019-04-22 22:53:36)


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

#9 2019-04-23 06:05:59

sushi
Member
Registered: 2019-04-22
Posts: 81

Re: [SOLVED] Thunar not showing up /Music thumbnails.

Thanks a lot for your help ToZ !

Imagemagick was the missing package. It should be mentioned in the doc that it's a direct dependency of "Customized Thumbnailer for folders" because spending three days for a missing information is huge.

Anyway, solved.

Offline

#10 2019-04-23 11:01:04

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

Re: [SOLVED] Thunar not showing up /Music thumbnails.

sushi wrote:

It should be mentioned in the doc that it's a direct dependency of "Customized Thumbnailer for folders"

Added to wiki page. Thanks.


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

#11 2019-04-23 11:41:10

sushi
Member
Registered: 2019-04-22
Posts: 81

Re: [SOLVED] Thunar not showing up /Music thumbnails.

Well done, thanks again.

P.S. It will economize a lot of efforts to everyone.

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 595.18 KiB (Peak: 612.02 KiB) ]