On 09/01/13 16:12, Michael Natterer wrote:
> On Sun, 2013-09-01 at 14:57 -0600, Gary Aitken wrote:
>> Assuming one starts gimp with no user-specific gimprc,
>> is there a way to dump out all the default values?
> gimp --dump-gimprc

ok that yields
  (temp-path "${gimp_dir}/tmp")
  (swap-path "${gimp_dir}")

>> I'm asking because the default gimprc has everything commented out,
>> and there's no GIMP2_DIRECTORY or gimp_dir defined in my environment.
> The default directories depend on the platform, and/or on the
> compile time prefix. You should use gimptool to figure these,
> the internal logic used is the same. Try gimptool --help.

I don't see anything there that indicates it is gimp_dir,
and none of the values are the ones set by default, which in my case
is ~/.gimp-2.8.  All of the directory options are for source info
(such as libdir, prefix, execprefix, mandir, etc., and all of the 
values are in non-user-writeable directories.

My system-wide (freebsd) default gimprc, /usr/local/etc/gimp/2.2/gimprc,
has the following (commented-out) lines:
  (temp-path "${gimp_dir}/tmp")
  (swap-path "${gimp_dir}")

If I look at Preferences/Folders, I see
  Temporary folder: tmp
  Swap folder: .gimp-2.8

If I open a 10,000 x 3,000 .xcf which is 128MB, with the tile cache size set to
16MB, I see a new file ~/.gimp-2.8/gimpswap.6637, and nothing in ~/tmp.  I 
don't know what will cause something to be written to temp space, but 
apparently gimp_dir is set to ~/.gimp-2.8 by default on fbsd.  It is 
particularly confusing because the "tmp" entry, when seen in the UI, *looks*, 
because of the missing prefix path components, like it would be /tmp or ~/tmp, 
but in fact is not.

Thanks for the pointers.

gimp-user-list mailing list
List address:    gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list

Reply via email to