GNOME Bugzilla – Bug 551995
Gimp should install itself as a thumbnailer service for XCF files
Last modified: 2018-05-24 12:23:02 UTC
New XCF files (saved from GIMP) have thumbnails, but copied ones do not. Opening in GIMP will create a thumbnail, but it would be nice to have them auto-generated if you are copying over a lot of them - from a backup for example. Other information:
Created attachment 118603 [details] Thumbnail plugin for GIMP
Workaround (using currently): Save the attachment (#1) in ~/.gimp-2.x/plug-ins, making sure it is executable. Enable in gconf (two commands - watch out for line wraps): gconftool --set /desktop/gnome/thumbnailers/image@x-xcf/command -t string "gimp-console -i -n -f -d -s -b '(python-fu-thumbnailer RUN-NONINTERACTIVE \"%u\")'" gconftool --set /desktop/gnome/thumbnailers/image@x-xcf/enable -t boolean "True" To add more file types, run the commands again, replacing "image@x-xcf" with the appropriate mime type. Using "image@x-psd" will add thumbnails for Photoshop files.
-> gimp It's not a Nautilus' duty to install thumbnailers for specific formats. In this case, that should be done by GIMP, reassigning.
This is not for the Installer component.
GIMP creates the thumbnails for XCF files. It is nautilus duty though to take care of the thumbnails when a file is renamed or copied.
@Sven: I guess we have a misunderstanding here. AFAICS, the bug report is about GIMP not installing himself as a thumbnailer for the XCF format, not about having thumbnails taken care when copying/renaming the file. The reporter says this can be done with a little script that GIMP has to install, for example as /usr/bin/gimp-thumbnailer, and to associate it (installing a GConf entry) with the mime types GIMP wants to manage the thumbnails of, and it indeed seems a good idea to me...there's nothing Nautilus can do here. Reassigning to GIMP, hope the report is more clear now.
It shouldn't be too difficult to create a new binary, linking in some of the core GIMP core, that is able to read XCF files and to output a full-scale view in common image formats, or alternatively write a thumbnail (using libgimpthumb). But I am afraid that won't make it into GIMP 2.6 still.
The package 'gnome-xcf-thumbnailer' will create thumbnails in Gnome 3, but only after manually creating an entry in /usr/share/thumbnailers as outlined in this bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655465 I'm not sure who upstream is - Debian? Anyway, I suppose this bug should be closed?
The only tarball ever released lives here [1], but I can't find the actual upstream git repository. I don't think there's any active upstream for the module at the moment. [1] http://ftp.acc.umu.se/pub/GNOME/sources/gnome-xcf-thumbnailer/
Situation is the same as comment 8 - the 'gnome-xcf-thumbnailer' package will generate thumbnails if the .thumbnailer file is manually created afterward. Should this be closed 'notgnome'?
I discover this report, which looks interesting. I suggest we have a separate binary (called `gimp.thumbnail` probably, that seems to be how most thumbnailers are named under my /usr/share/thumbnailers/), as suggested in comment 7. IMO, it should not be just a script requiring GIMP as dependency (initial propositions) because then it could not be installed independently (we could imagine distribution installing such thumbnailer as a default). Adding the "newcomers" keyword because writing such a binary should not be too hard.
I had a look at the source of gnome-xcf-thumbnailer (comment 9). It relies on xcftools code, which means we can't use it, since it won't be up to date with our format. We need a binary relying on our code if we want to make sure a XCF thumbnail always work reliably. So unless we are fine with this situation of a third party unmaintainer thumbnailer, we cannot close (to answer comment 10).
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/278.