This plugin was created at my suggestion by Sagenlicht at the cartographers' guild website
It is a python plugin (so you need to have python installed) that can dynamically manage all the resources that gimp can use. (It is basically an extension of the brush manager plugin). He has given me permission to post it here :)
GURM stands for GIMP Unified Resource Manager and is based on the idea of the Brush Manager by Sean Bogie. Contrary to Sean's Brush Manager GURM can handle brushes, gradients, palettes, patterns and scripts (Script-Fu). It uses parts of his code.
**** Update 08.01.2009 ****
New version of GURM is out.
Change log for GURM V0.7:
* Added some basic error windows
- GURM now tells you, if the paths set in the gurm.ini are wrong
- GURM now tells you, if it cant find the gurm.ini
Earlier versions simply closed without any feedback
* Started to clean up the code
* Fixed progress bar count
* Added support for .jpg, .png, .tiff, .bmp and .gif files for the Pattern Manager
* Added support for .svg files for the Gradient Manager
* Fixed sorting for GUI
Please consider to upgrade to this version, even if you do not need its changes, as I plan to write an upgrade script beginning with the next update for GURM, which will make updating easier. This script will require V0.7 or later as I made a minor code change how the script searches for the gurm.ini.
How to upgrade
* Unzip the attached gurm.zip to a temporary folder
* Copy the new gurm.py to the plug-ins folder. Please be sure to either remove the old version or overwrite it.
* Set the path to the gurm.ini in the new gurm.py. Please be aware that it has changed in this version. Be sure to read the readme.
* Version 0.7 has a change to the gurm.ini file which means:
* You either have to overwrite your existing gurm.ini with the new one and set the paths again (recommended for less computer experienced peps as you can follow the readme)
* Or add the changes manually:
- change the pattern manager extensions line to (be careful to end the line with a "," and dont use any spaces between the ",":
extensions = .pat,.jpg,.png,.tiff,.bmp,.gif,
- change the gradient manager extensions line to (be careful to end the line with a "," and dont use any spaces between the ",":
extensions = .ggr,.svg,
Quick upgrade for those who allready manually fixed the gurm.ini
If you allready did those gurm.ini changes you do not have to do anything with the gurm.ini - just replace the existing gurm.py in your plug-ins folder with the new version and reset the path to the gurm.ini in it.
First time installation
If you dont update and downloading GURM for the first time, please be sure to read the readme. It tells you how to setup GURM properly. It is easier than it actually reads
| Attachment | Size |
|---|---|
| gurm_v07.zip | 20.09 KB |
Comments
I just installed it in Gentoo
Thanks RobA.
I just installed it in Gentoo Linux.
The gurm.ini file should NOT be made executable.
After all it's a configure file.
I followed the instructions in this thread and made it executable though I thought that strange.
At restarting Gimp I see error messages that it cannot execute Brush Manager and more like that.I made gurm.ini nonexecutable and the errors are gone while Gurm still runs ok.
Gerard.
Ya its a bit weird
I think it has to do with using the same path at the same time, I can test it again and try a few more things to see if I can get it going, might just be a linux thing because the file system is set up different then windows.
I thought it was a recent update of python but I deleted everyhting and tried again without it and it worked fine, so I deleted the gradient parts and it worked fine, soon as I add them the same thing happens again, it's no big deal for me since I don't mind using it for gradients at all, but I'm sure there are some that might want it.
I'll check the code to see if there is another way around this for you Rob or just test a few more ideads that imght work and let you know.
Maybe I can set another path for the loading and removing just for that part.
Sam
oops sorry this was supposed to be a reply for Rob's message below, sorry about that.
Does not run on debian
I tried everything to get this thing working because it would be fantastic if I had it going especially for my brushes as everyone knows well enough can kill you at start up.
I have linux mint debian edition (LMDE)
running python 2.6.6-14
everything is up to date and I even chmod the brush files in the system folder to 644 just to make sure it would read it.
still no go, I made sure the ini file and py file were excutable, all paths are correct, it loads but does nothing, the brushes sometimes crashes as well.
it just says removing old files and loading new ones then it disapears and nothing, I try refreshing the brushes and still nothing.
I'll even be willing to test this thing out if you can get in touch with me to get this working on linux, it seems I am not the only one with issue in linux.
I am using gimp 2.6.11
cairo is 1.8.8-1+b2
crypto 2.3-2
anything else you need let me know, lets get this thing working on linux somehow, it's a fantastic tools that needs to be in the repos.
Sam
Try this
Is it really the files are copied from the UserPath to gimpPath (checked in catalogs) ?
Try this:
1. Verify directories gimpPath are writable ( also in Edit -> Preferences -> Folder -> Brushes).
2. Start with a blank directory (no files) specified in gimpPath; also in the file gurm.ini
installedOptions =
3. Start Gimp -> GURM.
Does this help?
it works :)
Thanks
You made me a very happy man today.
My problem was I deleted all directories from (Edit -> Prefrences -> Folder -> Brushes ) totally
so it did not read anything, I watched them copy and remove files from the gimp path so that was working fine.
It was a stupid mistake on my part, plus I never put installedOptions = 3, which didn't help either I left it blank.
I have to remind myself to not do this when I am tired.
Thanks a lot MareroQ
You been a huge help and I'll pass this along to other gimper users in linux.
Maybe I can talk to my distro and see if we can get this in the repos, this tool is a must for gimp.
Do you know if this is going to be included in gimp 8 as a standard or not?
This should be included as a standard in gimp instead of the brush manager they have now which makes you shut it down and restart it and only allows so many (it is a headache to deal with that way).
Thanks again
I'm glad I have this now.
Found a bug
I don't know if I did something wrong or not or it just does this.
After getting this to work I tried to create a gradient, tried to save it and it shut down gimp totally and would not let me create one. Is this normal?
The only way I could save a graidient I made was to comment out the gradient part of the python code and wipe it out in the ini file and delete the file it created for gradients in the home folder, then it let me save gradients again that I created.
Not a big deal for me because gradients usually don't take long to load anyhow and I don't mind loading them all at once.
I did chmod everything to work properly, the same as the other folders that work, but maybe having it save in the same folder gurm loads and removes gradients (.gimp-2.6/gradients) gimps path, crashes gimp.
Any suggestions for this one?
For me it's no big deal but maybe it might be for someone else.
For now I had to rid the code of gradients.
Thanks in advance
Sam
Never seen this
I have never seen this behaviour and can not duplicate.
I use GURM for patterns, brushes, and gradients, but under windows.
-Rob A>
ok Really Weird
I just redid it all over again and now it works and can save gradients again.
The only thing I did different was right click on the folder /.gimp-2.6/gradients and choose permissions and made it executable, but I did a sudo chmod 777 on the same folder before which should of worked but didn't, very strange indeed.
Ok for those who come up with the same issue make sure you right click the folder change permissions to executable instead of chmoding it through the terminal, very strange but it works now.
I might as well keep using it this way.
Thanks again Rob
Great plug-in if you need me to test anymore on linux let me know.
Sam
Interesting...
I'm using GURM in Ubuntu and none of my GURM .gimp folders are executable or have chmod 777.
To avoid confusion, I created specific GURM folders for all content outside of the .gimp-2.6 folder.
Rob's py plug-in worked for me right out of the box, with the only difference involved setting up the .ini file userpath to my new GURM folders.
Example of my ini file:
[Brush Manager]
useManager = yes
gimpPath = /home/mahvin/.gimp-2.6/brushes
userPath = /home/mahvin/My Gimp/brushes
extensions = .gbr,.vbr,.gih,.abr,
installedOptions = Abstract,Homemade,Snowflakes,Special,Speech Bubbles,
Ya it was weird
I have mine set up the same way, it always was, having the user path outside.
[Gradient Manager]
useManager = yes
gimpPath = /home/sam/.gimp-2.6/gradients
userPath = /home/sam/gimpfiles/gradients
extensions = .ggr,.svg,
installedOptions = grads,
it was the gimp path that was creating the issue for me, don't know what happened but it was the weirdest thing I seen yet and no reason for it at all, who knows, but it works now, I know if I left it as it was there was an issue for some reason, but I'm on a debian rolling testing version through mint so maybe it's something with debian (ubuntu comes from debian but they change it for themselves then let it loose on the world) I get all the updates from debian itself.
Don't quite understand it unless I did something else wrong, who knows, but it works now.
I passed this onto to the forum its a great plug-in that needs to get out there more.
Hopefully they will add it to the repos one day.
Sam
Love this plugin
I am not a techie but this was easy to use and install. My gimp is loading much more quickly. I didn't realize the amount of resources I'd added until recently. Thanks a bunch for this!
Wish list
GURM is a very,very important plugin - is it possible to add in the next version:
1. Manager filters *.8bf (charging too much of filters makes their lack of action) - if this is possible with the function refresh and perhaps with subdirectories for complex filters ?
Because if You do not - then who? AS YOU ALL HOPE !
2. Manager plugins *.py and / or *. exe (because some are mutually exclusive - example: fille png of file apng) - better with more features - you can always disable them. Is it possible to: select the files and not directories ?
ps. GURM sometimes it can be run only once for the selected option and ceases to operate (without an error message). It is possible that this error is only for me - too much I would at once ?
Yours sincerely:
impatient MareroQ
wish list 2
i don't think there is a command to refresh plugin
but IF there is would be not needed a different command to refresh 8bf filters:
reload PSPI after changing the paths for 8bf would already solve
Issues
I'm having issues getting this to work. I have followed the detailed instructions on the read-me, but when I start it up, though I can access the Gui, nothing seems to be loading visually. I started gimp in the terminal to watch for any errors, but nothing related to Gurm comes up.
Please assist, I really need to have manageable brushes and patterns >.<
Thank you for your plugin and for your time.
I am using Gimp 2.6 on Lucid
I am using Gimp 2.6 on Lucid Ubuntu. I have a compiled version of Gimp with Gimp-Painter I don't know if that would cause an issue or not.
[thanks]
Thank you for this superb plug-in. Everything works as expected on Gimp 2.6 after following the clear instructions in the readme. This is a great replacement for, and improvment on brush-manager, which does not appear to work under 2.6 (at least, for me). Excellent work.
gurm.ini not found
Trying to use GURM on a Linux Debian installation. It appears in the Filters menu and starts OK, but immediately complains that gurm.ini was not found. The path I gave in gurm.py is correct, I multiple-checked it, and even changed it to another place. The needed quotations are present. Python version is 2.5.5.
Hope this helps
Hello olecarme
I had a couple of issues installing it myself in the beginning on lmde.
The tutorial is great but I forgot a couple of things to get it going myself.
the two main things I forgot was to make the link in edit>prefrences>folders to the gimp path, I thought it had to be left blank, the folder itself had to be blank but the path needed to be there still and writeable, and installOptions I set to 3, make sure all the folders are chmoded properly and the files are executable (gurm.py and gurm.ini).
I know this is kind of late getting to you I guess but it works for me now. :)
I also used the /home/your folder name/.gimp-2.6/brushes path as gimps path instead of /usr/share/gimp/2.0/brushes.
It worked fine after this.
Hope this helps
If you have anymore issues getting it to work on linux feel free to ask me, I'll help you out.
Sam
Thanks again MareroQ for the help.
Just wondered if you'd
Just wondered if you'd checked the backslashes in the paths you put in the gurm.ini and gurm.py files; on the readme, the backslashes are \ (top left to bottom right), as per Windows, but on a Linux system you would want the other backslashes / (top right to bottom left). It's an easy thing to miss (I did at first), especially if you cut and paste.
Gurm is a powerful tool but
Gurm is a powerful tool but you should read well the instruction to set it up correctly
I could not explain better then there
so look to the README file
Permissions
Problem