Quote:
But what about script-fu? how to get it installed in Ubuntu- Gimp?
I am going to go out on a limb here, and "guess" you mean the installation of scripts, which, like plug-ins, have a specific place to be downloaded to. In Linux, that would be:
/home/username/.gimp-2.6/scripts
The only files you'll need to place in that folder are files with the .scm extension (name-of-file.scm).
Now, ofnuts and Rod have already mentioned the location of scripts via the GIMP menu that can show up in a menu (this menu location is on the top menubar, not within the menus themselves. See screenshot:
What you see here are two places labeled "Script-Fu". The one in the Filters menu is for the Script-Fu console, no scripts are ever registered here. There is even a slight chance a coder will even register a "Script-Fu" menu in the Filters menu. But to avoid confusion, let's focus on the 2nd Script-Fu menu on the right. This is what Rod is referring to. It doesn't mean that all script-fu files will be found here. Script-fu files can be found in ALL the menus on the menu bar.
All you need to know is that ANY script (a file with a .scm extension) will need to be placed in
/home/username/.gimp-2.6/scripts
To know if the script is working or not, you need to know 2 things:
1. The script's function (most coders title their script based on its function - take multiscale.scm, for example, the coder added "Multiscale" into the register. Not all coders do this.)
The plug-in browser, found in the Help menu:
2. The procedure name (this is important, but not critical). The reason it is important to know is because not all scripts provide the function as it's title - meaning you can't rely on the name of the file to find ALL script locations in the plug-in browser, because as mentioned on point 1, not all coders include the function of the file name in the register.
You can open a script with a text editor, like gedit, and find the procedure and where it's registered, quite quickly. Below is a portion of multiscale.scm opened in gedit:
This seems like a massive amount of information to make a simple point, but the main thing you need to focus on is where you download the *.scm files to, and how to find them in the menus. Do not waste time thinking that all scripts end up under "Script-Fu" on the menu bar, because they don't.
Lastly, if you have GIMP open, and you add a new script to your scripts folder, the new script won't activate until you either 1) close GIMP and restart it, or 2) Go to Filters - Script-Fu - Refresh Scripts (the best option).
A quick rehash:
1. Download scripts with .scm extension to /home/username/.gimp-2.6/scripts
2. Filters - Script-Fu - Refresh Scripts to activate new script
3. Use Help - Plug-in Browser to locate the new script in the menus
4. The fun part - Testing out the new script in GIMP
_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes