(This is not a duplicate as this question describes how to add custom icons to folders in Nautilus, whereas there seems to be no explanation for Thunar.)

In Nautilus (as this questions shows) there is the fun feature of being able to place any custom icon onto a folder by just right clicking the folder, clicking the folder in the menu that comes up and selecting a custom icon.

However in Thunar I can only seem to add emblems (see the screenshot below) and not actual custom icons (I have a folder of them scaled to the right sizes ready to use). I have looked round the Thunar settings and general Xfce settings-editor but have not been able to see a way of setting a custom icon on a folder. This question only describes how to add a custom emblem in Thunar, which is different.

My home folder in Thunar with emblems but not custom icons:

Home folder


4 Answers 4


This feature request has come up on the mailing-lists several times, and was quite recently proposed in this discussion. However, the answer from Simon Steinbeiß, an active xfce and xubuntu developer, was that:

You can use either emblems (right-click > properties > emblems) or the user-dirs (the fixed list of user directories can be found and modified in ~/.config/user-dirs.dirs). No support for custom folder-icons at the moment.

There is a discussion at the xfce forum on how thunar custom icons could be accomplished, and a patch has even been submitted for thunar. It is explained that the patch

scans the thumbnaill dir and loads a custom icon if there's a file that matches the file name on the desktop. So a file on the desktop named foo will have a custom icon loaded if the image in the .thumbnails dir is foo.gif

However, one of the leading xfce developers, Nick Schermer, has commented that

Non md5hash files in the .thumbnails directory is a bad idea.
The prefix-only check if a bit flawed as well, it can be improved with a dot-check (so foo2.png is not matched).

So the method as described in the patch has not really been validated by the developers, and because it would involve a lot of time compiling thunar and its dependencies (as noted here), and then a lot of risk in installing them to your system, I would advise against trying it. You could experiment of course in a virtualised environment (virtualbox) or on a computer set aside for development, but not on a stable system.

It is usually fine to compile programs and apply patches, as I have discussed in many examples on this site, but on this occasion it is better to wait until a solution is available that has been validated by the developers.

For now the question is 'solved', but I will continue to update it and indeed research the issue to see how it could be accomplished in the manner that it is done in Nautilus.

  • 1
    Custom Thumbnails for folders are now possible with Thunar 1.8.2 or above. Please check my answer for details.
    – Alex
    Mar 22, 2019 at 13:11

The best workaround is to create the desired "launcher" on the desktop in application launcher you can set a custom icon, even pick a file from your own collection.

The command of the launcher should be set to thunar <desired directory>

Then cut + paste the launcher to the desired location.


For desktop folders, the solution I discovered by accident is as follows:

Find the icon you want your folder to have. It must be a .png file. Change the extension to .jpg. Change the file name to 'folder'. (So the png file should be named 'folder.jpg'.

I am using Linux Mint Xfce 18.1.


Custom folder icons can be configured via thumbler with Thunar 1.8.2 or above.

You can add a custom thumbnailer specialized for folder.

Check the section"Customized Thumbnailer for folders" in the Thunar Wiki for details.

For more details, check the related bug

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy