It is currently Fri Sep 25, 2026 10:33 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: addons Collection Manager - request for added feature
PostPosted: Wed Nov 18, 2015 2:01 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
GIMP Version: 2.8.14
Operating System: Windows
GIMP Experience: New User



This request is for the author (Ofnuts).
Is it possible (and easy) to add to the Manager the possibility to look at a directory specified in the .ini file different from the assumed ".gimp-2.8" (currently) for finding all the referenced "storages" of resources?
Assume one wants to create a directory called "Extras" where to put all the "xxx_storage" ("scripts_storage", for instance) instead of having all in the .gimp-2.8 folder; if there would be a parameter in the .ini file where to specify "directory to look at"...
Someone could consider it to be an extravagance, but IMHO it could add more flexibility to the data organisation for Gimp.
Thanks

_________________
"Where am I ?"


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: addons Collection Manager - request for added feature
PostPosted: Wed Nov 18, 2015 7:39 am  (#2) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
Read the doc, it"s already there.
Quote:
For all these items, some speficic names enclosed in braces are dynamically replaced when reading the configuration:
  • {UserHome}: the user's home folder (the parent of the Gimp profile)
  • {GimpUser}: the user's Gimp profile folder
  • {GimpData}: the global Gimp data folder (in the Gimp installation tree, in Linux: /usr/share/gimp/2.0/)
  • {GimpPlugin}: the plugins folder in the Gimp profile
  • {type}: the lower case name of the add-on types: "brushes"
  • {Type}: the capitalized name of the add-on types: "Brushes"
The default directory definitions include a {GimpUser} item which is replaced by the user's Gimp profile location when found in a directory definitions. If it's not there then there is no replacement and the directory specification becomes independent of Gimp's directories.

_________________
Image


Top
 Post subject: Re: addons Collection Manager - request for added feature
PostPosted: Wed Nov 18, 2015 8:42 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
thanks Ofnuts!
For my poor ability with these variables, assuming I have under my user name -i.e. at the same level of ".gimp-2.8"- a folder named "Extras", what should I set in the .ini?
- instead of addons_stored:{GimpUser}/{type}_storage
- should I put addons_stored:{UserHome}/Extras/{type}_storage?
Thanks for your patience

_________________
"Where am I ?"


Top
 Post subject: Re: addons Collection Manager - request for added feature
PostPosted: Wed Nov 18, 2015 9:01 am  (#4) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2615
I did this earlier, then thought, better wait for the official Ofnuts.

This worked here and looks like your intention : caveats: linux installation and I use _alt instead of _storage (It is an old version :) ) Use whatever is already there.

addonCollectionManager.ini
In the first section [ all ] changing the location addons_stored
from addons_stored:{GimpUser}/{type}_alt

to an explicit path.

[all]
# enable:brushes dynamics fonts gradients palettes patterns scripts
enable:brushes fonts patterns scripts
addons_active:{GimpUser}/{type}
addons_stored:/home/rich/gimp_stuff/{type}_alt
...
...
.etc.


Top
 Post subject: Re: addons Collection Manager - request for added feature
PostPosted: Wed Nov 18, 2015 11:29 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
thanks Rich!
Sorry, Ofnuts, if I didn't recognize before this feature, good news.
Done, it works!

_________________
"Where am I ?"


Top
 Post subject: Re: addons Collection Manager - request for added feature
PostPosted: Thu Nov 19, 2015 7:46 pm  (#6) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
Sorry I didn't respond, my PC had a "hard disk moment" to put it mildly.

_________________
Image


Top
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group