There are a few topics like this, but let’s say this is a tested and up-to-date version for Ubuntu 24.04 users How to get KRA file thumbnails in file explorer (Nautilus) in Ubuntu?
Option 1: Small, fast thumbnails
Create the file ~/.local/share/thumbnailers/krita.thumbnailer (in .local of your home dir).
Check if the thumbnails already show (you can refresh with F5).
If they do not, try the following steps:
kill all nautilus windows with the command nautilus -q
remove the directory with all files ~/.cache/thumbnails/fail
you can delete the whole ~/.cache/thumbnails if you want to regenerate ALL thumbnails (not just kra)
Option 2: Large, high quality thumbnails
This may be useful if you have a high resolution screen, but will be significantly slower and take more disk space for the thumbnails cache.
Install imagemagick to get the convert command: sudo apt install imagemagick
NOTE: This will add a lot of tools, maybe there’s a more lightweight package to do the job.
Follow the same steps as before, but use the following content for the thumbnailer file:
Do we have a tutorials category? I was looking a bit but eventually settled on this section. I thought the resources category was more for Krita program itself and this one was more about the OS, but whatever makes it easier to discover is good.
Oh, good to know it’s still working. I did come across the package, but was a bit scared off by the fact that it’s no longer maintained. It is not included in Ubuntu packages at least.
Taking a closer look at the repo, I saw that it started as the same basic idea of hooking up shell commands to the thumbnailer file I’m kind of in favor of this method as it reuses very hardened tools like unzip or imagemagick, so you get the benefits of maintenance automatically.
But of course it’s still a shame that a thumbnailer solution isn’t present in standard package repos for popular distros. It would be best to rectify that, but I don’t know how that process works. Probably something worth researching.