It is currently Thu Sep 24, 2026 11:05 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: how does one EASILY find the plug-in/script to use .. after adding
PostPosted: Mon Sep 10, 2012 5:52 am  (#1) 
Offline
New Member

Joined: Sep 09, 2012
Posts: 4
GIMP Version: 2.8.2-1
Operating System: Linux
OS Version: Ubuntu 12.04 (32bit)
GIMP Experience: Basic Level

List any relevant plug-ins or scripts:
*



(1) assume one knows the [partial] name of the plug-in/script. One has downloaded numerous addons ala this site or gimp repository.

(1b) other than opening relevant files in text editor, or keyword searching into directories?

(2) how can one over-ride where such will be placed in a hierarchy of menus

(2b) or better yet create link/alias in a menu of one's own creation similar to variations in G'MIC?


This will decrease my temptation to ponder unkind notions... and help credit the work of developers [providing linkage that others might enjoy, too]


Consider how newer Photoshop versions allows one to type out the name of a Font Face rather than 'endless' scrolling. Is there already a plug-in/filter/native-feature for this? I have exhausted my personal daily limit of interweb search term iterations.

[PPA:otto-kesselgulash/gimp]


Attachments:
0909localscripts.png
0909localscripts.png [ 47.96 KiB | Viewed 2950 times ]
0909localplug-ins.png
0909localplug-ins.png [ 67.89 KiB | Viewed 2950 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: how does one EASILY find the plug-in/script to use .. after adding
PostPosted: Mon Sep 10, 2012 6:43 am  (#2) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2615
Quote:
(1) assume one knows the [partial] name of the plug-in/script. One has downloaded numerous addons ala this site or gimp repository.

(1b) other than opening relevant files in text editor, or keyword searching into directories?


Not too sure what what you mean here but to find a script/plugin use the plugin browser and enter a (partial) search term.

Image

Quote:
(2) how can one over-ride where such will be placed in a hierarchy of menus


If it is a .scm or a .py do a bit of editing otherwise if it is a compiled plugin, you would have to modify the code and recompile.

Image

Quote:
(2b) or better yet create link/alias in a menu of one's own creation similar to variations in G'MIC?

don't know

Quote:
Consider how newer Photoshop versions allows one to type out the name of a Font Face rather than 'endless' scrolling. Is there already a plug-in/filter/native-feature for this? I have exhausted my personal daily limit of interweb search term iterations.


Like this?
Image


Top
 Post subject: Re: how does one EASILY find the plug-in/script to use .. after adding
PostPosted: Mon Sep 10, 2012 12:45 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2769
i asked for a script modification, of where the script actually appears, in this thread:
viewtopic.php?f=9&t=5173

it was really simple to edit, maybe that helps


Top
 Post subject: Re: how does one EASILY find the plug-in/script to use .. after adding
PostPosted: Mon Sep 10, 2012 4:38 pm  (#4) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16174
Another thing you can do is edit the script in the description field.
This way when you mouse over the script in the menu of Gimp, it will tell you the
Name of the script
What it does

From Graechans Antique Metal script :bigthup
Image

Then as you mouse over the menu item...
At the bottom of the Gimp interface you will see the same content.This makes it easier to see what each script does, it's installed name, and categorize them better.


Top
 Post subject: Re: how does one EASILY find the plug-in/script to use .. after adding
PostPosted: Mon Sep 10, 2012 5:40 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: May 26, 2012
Posts: 342
Location: France
rich2005 wrote:
Like this?
Image


Hey, I want this one too ! (:
in fact, it's a hmm built-in feature :facepalm:


Last edited by anarkhya on Mon Sep 17, 2012 10:35 am, edited 1 time in total.

Top
 Post subject: Re: how does one EASILY find the plug-in/script to use .. after adding
PostPosted: Tue Sep 11, 2012 3:10 am  (#6) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
To answer question 2b - creating another link to the script, it's certainly possible, but there is a slight complication and it does mean editing the script...

Here's the part of a script that registers it in the menus
(script-fu-register "script-fu-my-thing"
        "<Image>/Filters/My Thing Menu Entry"
        "My Thing"
        "This thing does something"
        "GimpChat"
        "GimpChat"
        "2001/04/12"
        "RGB*, GRAY*"
        SF-IMAGE "Input Image" 0
        SF-DRAWABLE "Input Drawable" 0
        SF-STRING "Text String" "DSR"
)
The important line here is: "<Image>/Filters/My Thing Menu Entry" which puts the script into the Filters menu with a label of "My Thing". This is the old way of doing things and won't allow you to create a second link to the script. It would have to be changed to this:
(script-fu-register "script-fu-my-thing"
        "My Thing Menu Entry"
        "My Thing"
        "This thing does something"
        "GimpChat"
        "GimpChat"
        "2001/04/12"
        "RGB*, GRAY*"
        SF-IMAGE "Input Image" 0
        SF-DRAWABLE "Input Drawable" 0
        SF-STRING "Text String" "DSR"
)

(script-fu-menu-register "script-fu-my-thing" "<Image>/Filters")
Where the register block now only specifies the menu label and the script-fu-menu-register specifies where in the menus it gets put.

From there it's simply a matter of adding a second or third.... menu-register block:
(script-fu-register "script-fu-my-thing"
        "My Thing Menu Entry"
        "My Thing"
        "This thing does something"
        "GimpChat"
        "GimpChat"
        "2001/04/12"
        "RGB*, GRAY*"
        SF-IMAGE "Input Image" 0
        SF-DRAWABLE "Input Drawable" 0
        SF-STRING "Text String" "DSR"
)

(script-fu-menu-register "script-fu-my-thing" "<Image>/Filters")
(script-fu-menu-register "script-fu-my-thing" "<Image>/contributed")
Which will appear in both the Filters menu and a "contributed" menu.

As Rod points out, doing the search backwards - i.e. knowing the menu entry but wanting to know the actual script file is helped by the script author putting the file name in the help text, but otherwise you would need to search the contents of the files using whatever tools you have on your system - GIMP can't do it for you.

Kevin


Top
 Post subject: Re: how does one EASILY find the plug-in/script to use .. after adding
PostPosted: Tue Sep 11, 2012 9:35 am  (#7) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
..and alas all this is even possible for scripts, including here python scripts , but much harder for compiled plugin

Found and even edit the registration path in the plugin code remain trivial even without knowing C or C+, the registration block would remain similar to that used in script and may be edit with same logic, but then the search has to be done on the source code and if the path are edited, everything should be recompiled

The menu of the script /plugin becomes a usability problem the more and more third party scripts and plugin are added,because each author seems to follows his own logic and terminology and so the most bizarre , superfluous , or cryptic menus and submenus are added everywhere even in the most surprising places

Actually the bigger effort i had to do to create a customized version (see my topics in the news board) including many third party scripts and plugin was to avoid all the gimp menus to become a total mess

And yes i agree that is a almost unresolvable problem for average users that don't know or don't wish edit scripts and even less recompile plugin

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group