Re: [Gimp-developer] GIMP 2.9 XCF files and digiKam, gnome file browsers, etc
- From: Michael Natterer <mitch gimp org>
- To: Elle Stone <ellestone ninedegreesbelow com>, Gimp-developer <gimp-developer-list gnome org>
- Subject: Re: [Gimp-developer] GIMP 2.9 XCF files and digiKam, gnome file browsers, etc
- Date: Wed, 16 Mar 2016 20:38:36 +0100
On Tue, 2016-03-15 at 13:18 -0400, Elle Stone wrote:
On 03/15/2016 10:51 AM, Kevin Payne wrote:
A very quick bit of rummaging round in source code leads me to
libgimpthumb\gimpthumb-utils.c
Where it shows a fall-back if the thumbnails directory cannot be
created - it uses the tmp dir instead.
Kevin
Hmm,Â
https://specifications.freedesktop.org/thumbnail-spec/thumbnail-spec-
latest.html#DIRECTORYÂ
says the "normal" place for the thumbnail directory isÂ
$XDG_CACHE_HOME/thumbnails/ and the "normal" location forÂ
$XDG_CACHE_HOME is /$HOME/.cache.
For whatever reason on my computer $XDG_CACHE_HOME is set toÂ
/tmp/elle/.cache. So that's probably why GIMP is writing thumbnails
toÂ
the tmp folder.
You should fix that. Whatever is setting your XDG_CACHE_GOME to
/tmp/something is doing so wrongly, or at least not sanely :)
If I start GIMP by adding the line:
export XDG_CACHE_HOME=/home/elle/.cache
then GIMP saves thumbnails to /home/elle/.cache/thumbnails.
The thumbnail contains information that points to the corresponding
XCFÂ
file, for example:
Description : Thumbnail ofÂ
file:///home/elle/edit/digiKam/working/080810-2252-1855-house-
rainbow.xcf
Software : GIMP 2.9.3
Thumb URI :Â
file:///home/elle/edit/digiKam/working/080810-2252-1855-house-
rainbow.xcf
digiKam doesn't offer the option of adding a hidden folder to the
database.
Copying the thumbnail folder to a folder that digiKam monitors andÂ
trying to open the correspoinding XCF file by opening the the
thumbnailÂ
just opens the thumbnail itself, not the XCF file.
Are there any image/file browsers that can use the uri locationÂ
information in the thumbnail to open the corresponding XCF file
ratherÂ
than the actual thumbnail png?
I mean besides Nautilus. I don't want to install Nautilus on my
computerÂ
as it would mean making considerable changes to my Gentoo
installation.
We use the folders specified in the freedektop thumbnail
managing spec, that's not going to change. You should file
bugs against desktop components that don't follow the
standard.
As an aside,Â
https://specifications.freedesktop.org/basedir-spec/basedir-spec-late
st.htmlÂ
says $XDG_CACHE_HOME is for "user-specific non-essential (cached)
data".
It seems to me that the thumbnails that make it possible to browse
one'sÂ
XCF files don't count as "non-essential". As it is, for the
thumbnailsÂ
to be useful I'd have to use GIMP to recreate thumbnails for the 500
orÂ
so XCF files currently indexed by digiKam, and that would take anÂ
enormouse amount of time to accomplish.
Thumbnails are by definition non-essential because they can be
recreated, and that's why they live in ~/.cache, you only need
to make sure your cache is at the persistent default location.
Thumbnail browsing is at best a temporary and fragile workaround forÂ
using an image DAM software like digiKam, that can make its ownÂ
thumbnails (except for GIMP 2.9 XCF files), or at least can read aÂ
thumbnail already embedded in the image file.
Are GIMP 2.9 XCF files saved to disk with embedded thumbnails?
That's on the TODO, but there are so many things on the TODO...
Regards,
--Mitch
- References:
- Re: [Gimp-developer] GIMP 2.9 XCF files and digiKam, gnome file browsers, etc
- Re: [Gimp-developer] GIMP 2.9 XCF files and digiKam, gnome file browsers, etc
- Re: [Gimp-developer] GIMP 2.9 XCF files and digiKam, gnome file browsers, etc
- Re: [Gimp-developer] GIMP 2.9 XCF files and digiKam, gnome file browsers, etc
- Re: [Gimp-developer] GIMP 2.9 XCF files and digiKam, gnome file browsers, etc
- Re: [Gimp-developer] GIMP 2.9 XCF files and digiKam, gnome file browsers, etc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]