Post Reply 

GIMP 2.6.12: Unexpected %USERPROFILE%\Documents\gegl-0.0\plug-ins folder

Mar 9, 2012, 10:14 (This post was last modified: Mar 9, 2012 12:00 by berix.)
Post: #1
GIMP 2.6.12: Unexpected %USERPROFILE%\Documents\gegl-0.0\plug-ins folder
I've just installed GIMP 2.6.12 on a Win 7 system. Everything looks OK except for two directory locations Gimp uses.

Firstly I noticed the %USERPROFILE%\.gimp-2.6 folder created in the user's home directory. I'd rather expect it created in some directory like %USERPROFILE%\AppData\Roaming\Gimp.
I fortunately found out a solution as commented in the setup file C:\Program Files (x86)\GIMP-2.0\etc\gimp\2.0\gimprc which states :

"The variable ${gimp_dir} is set to the value of the environment variable GIMP2_DIRECTORY or, if that is not set, the compiled-in default value is used. If GIMP2_DIRECTORY is not an absolute path, it is interpreted relative to your home directory."

So I defined one environment variable to redirect that .gimp-2.6 folder to a more appropriate location:

GIMP2_DIRECTORY = "%USERPROFILE%\AppData\Roaming\Gimp"

This works nice and %USERPROFILE%\.gimp-2.6 is no longer used by Gimp and every data are now in "%USERPROFILE%\AppData\Roaming\Gimp.

So far so good. But one another annoyance remains. Program C:\Program Files (x86)\GIMP-2.0\bin\gimp-2.6.exe creates (or re-creates whenever deleted) a folder %USERPROFILE%\Documents\gegl-0.0\plug-ins every time it is launched. That folder contains a Makefile file, nothing else, that reads:

# This is a generic makefile for GEGL operations. Just add .c files,
# rename mentions of the filename and opname to the new name, and it should
# compile. Operations in this dir should be loaded by GEGL by default
# If the operation being written depends on extra libraries, you'd better
# add a dedicated target with the extra bits linked in.


CFLAGS += `pkg-config gegl --cflags` -I. -fPIC
SHREXT=.so
CFILES = $(wildcard ./*.c)
SOBJS = $(subst ./,,$(CFILES:.c=$(SHREXT)))
all: $(SOBJS)
%$(SHREXT): %.c $(GEGLHEADERS)
@echo $@; $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDADD)
clean:
rm -f *$(SHREXT) $(OFILES)



Why is this Makefile stored in the %USERPROFILE%\Documents directory instead of in %USERPROFILE%\.gimp-2.6 or as directed by the GIMP2_DIRECTORY variable ?

I've read many pages throughout the web and saw this is a common issue since a long time but cannot find one solution to get rid of that \gegl-0.0 folder stored in the Documents directory that is quite an inappropriate location in a Win7 environment.

Can anyone help with this problem ?
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Stopping gimp from colouring the transparent background vizzkidd 2 41 Jan 22, 2018 18:53
Last Post: vizzkidd
  Gimp Tool Box and Tool Options Remain on Desktop Jerrod 3 105 Jan 7, 2018 14:25
Last Post: my nellie
  GIMP not seeing new folders VolleyChick 1 81 Jan 1, 2018 07:11
Last Post: ythgilb
  Gimp mouse wheel zoom resolution scorr14 1 99 Dec 21, 2017 06:11
Last Post: ythgilb
  How do I cut out the middle of the canvas in GIMP? telden 6 3,081 Nov 27, 2017 06:08
Last Post: ythgilb

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS