It is currently Wed Jul 24, 2024 8:20 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Order in Gimp
PostPosted: Wed Mar 12, 2014 10:55 am  (#1) 
Offline
GimpChat Member

Joined: Jan 25, 2014
Posts: 78
Is it possible to cather all scripts, witch are for photo editing in their own folder an put the name up here? If it is, would some friendly soul tell me how, or where I can get instructions?

I really hope to get in Gimp some order in scripts and other things too.


Attachments:
palkit.JPG
palkit.JPG [ 13.35 KiB | Viewed 2424 times ]
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: Order in Gimp
PostPosted: Wed Mar 12, 2014 11:11 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
scripts and python can be put under the menu you like simply editing the source with notepad++, looking for the registration line and replace -for instance- Filters with PhotoFilters or whatever you like (submenus included).
Much more difficult to change the menu of the plug-ins in .exe.
You should have the source and be able to compile it after the changes (not an easy task, ask Rod for instance...)

_________________
"Where am I ?"


Top
 Post subject: Re: Order in Gimp
PostPosted: Wed Mar 12, 2014 11:11 am  (#3) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
@himppu All your scripts go into your user script folder and your plug-ins go to your user plug-in folder, The same with gradients, patterns etc.
They don't go at the top of your gimp the way you show it in your image.
If you have Windows, they go in C:\users/your name\.gimp-2.8.XX\scripts > C:\users/your name\.gimp-2.8.XX\plug-ins etc.

_________________
Image


Top
 Post subject: Re: Order in Gimp
PostPosted: Wed Mar 12, 2014 11:56 am  (#4) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
The GIMP documentation about script-fu page shows how a script registers itself into a menu:

http://docs.gimp.org/en/gimp-using-scri ... cript.html

So by changing the path shown in the script-fu-menu-register line you can alter where the script appears.

It is also possible to add extra script-fu-menu-register entries so you could leave the scripts as they are and create a new .scm file containing a series of script-fu-menu-register entries for each of the scripts you want to collect together.

This extra file would have to be loaded last for it to work - maybe put it into a new folder on it's own and make sure the new folder is last in the folder list in your preferences.

Kevin

Here's an example mylist.scm that I've put into a mylist folder:
(define kp24_mylist_menu "<Image>/mylist")
(script-fu-menu-register "script-fu-kp24_dragan" kp24_mylist_menu)
(script-fu-menu-register "script-fu-kp_grad_filter" kp24_mylist_menu)
(script-fu-menu-register "script-fu-kp24_make_printable" kp24_mylist_menu)
(script-fu-menu-register "script-fu-kp24_process_negs" kp24_mylist_menu)


Top
 Post subject: Re: Order in Gimp
PostPosted: Wed Mar 12, 2014 6:20 pm  (#5) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
dinasset wrote:
scripts and python can be put under the menu you like simply editing the source with notepad++, looking for the registration line and replace -for instance- Filters with PhotoFilters or whatever you like (submenus included).
Much more difficult to change the menu of the plug-ins in .exe.
You should have the source and be able to compile it after the changes (not an easy task, ask Rod for instance...)

Scripts
You can Start by separating you scripts into folders inside your scripts folders then adding a new path for each of these folders in preferences (max 15), then using notepad++ or similiar editor, alter their registration path

Gimp Plugins
To alter the registration path for Gimp plugins open your pluginrc file in your editor and search for the plugin you wish to change then alter it's registration path

Photoshop Plugins
To alter the registration path for Photoshop plugins open your pspirc file in your editor and search for the plugin you wish to change then alter it's registration path

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Order in Gimp
PostPosted: Fri Mar 14, 2014 8:13 am  (#6) 
Offline
GimpChat Member

Joined: Jan 25, 2014
Posts: 78
Thank you all! I'll make a backup and get to work. Will tell you how it went. I am a bit scared but also sturdy :)


Top
 Post subject: Re: Order in Gimp
PostPosted: Fri Mar 14, 2014 8:20 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
thanks Graechan, for recalling the use of the rc files!
Only a little little additional note for the novices: if -for any good reason- you have to delete the rc files, remember to reapply the modifications...

_________________
"Where am I ?"


Top
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Airbrush not applying in the right order?

2

No new posts Attachment(s) Proposal: a "View Topics in order of views"

32



* Login  



Powered by phpBB3 © phpBB Group