Re: A question about python gimpfu - "home folder"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

> >> Is there a method to discover the GIMP version
> and/or ~/.gimp folder
> >> that works across platform (from python)?
> gimp.directory


On a Mac running gimp2.4.5

   print "gimp.directory = %s" % gimp.directory
prints
    gimp.directory = /Users/paultaney/Library/Application Support/Gimp

...but my plugin fails to run from there.  It does not appear in the menus. 

Nor will it run from ~/.gimp-2.4/plug-ins  or ~/.gimp-2.4/scripts

I have only managed to make it run from one location:

% cat push.sh
cp stroke_to_vector.py  /Applications/Gimp.app//Contents/Resources/lib/gimp/2.0/plug-ins/
chmod +x  /Applications/Gimp.app//Contents/Resources/lib/gimp/2.0/plug-ins/stroke_to_vector.py

_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux