Please read the comments – some important stuff may have shown up!
Linux – with GUI
Check that the packet gimp-python is installed.
Copy your .py file into the directory .gimp2.4/plug-ins (replace 2.4 with your GIMP version number, 2.6, 2.7, soon 2.8 or, to be future proof, 3.0
) . This is a hidden directory, you don’t see it in the file browser. With Nautilus you can toggle the display of the hidden files with Ctrl-H.
Then make the file executable by right clicking, selecting “Properties” from the menue and activate “Execute” in the permissions tab.
If GIMP was running, restart it.
Linux – with commandline
Check (with synaptic) that the packet gimp-python is installed.
Enter this:
cp myfile.py ~/.gimp2.4/plug-ins chmod u+x ~/.gimp2.4/plug-ins/myfile.py
If GIMP was running, restart it.
Mac OS
Please write an instruction into the comments – I’ll pull it up to here.
Look through the comments for a solution – but I think there must be a better one.
EDIT by monoceros84: There is a new discussion going on in the forum. Have a look at: http://forum.meetthegimp.org/index.php/topic,227.0
Windows
Copy the files to ~/.gimp2.4/plug-ins
With the following prerequisites:
- PyGTK, PyCairo and PyGobject (all available from the GNOME FTP mirrors as installers) are installed prior to installing GIMP
- ~ is %USERPROFILE%
If GIMP was running, restart it.
Microsoft Windows
——————–
Copy the files to ~/.gimp2.4/plug-ins
With the following prerequisites:
- PyGTK, PyCairo and PyGobject (all available from the GNOME FTP mirrors as installers) are installed prior to installing GIMP
- ~ is %USERPROFILE%
Making them executable isn’t necessary, as all files are executable on Microsoft Windows.
The same approach used for Linux works fine for me with MacOSX. But I had to create the .gimp2.4/plugins directory in my $HOME first, then I copied the plugin in this directory and made it executable. GIMP couldn’t find the plugin first, I had to provide the path to the just created directory in the preferences (Preferences -> Folders -> Plugins). Now it’s working like a charm. Maybe there is a more convenient way to install plugins for the GIMP on MacOSX, but this works fine for me and I don’t hesitate to fiddle with the terminal
MissM@rple: The reason you had to provide the path is because you didn’t use ~/.gimp-2.4/plug-ins/
, which is the normal path that gimp looks at by default.
Isn’t “~/.gimp-2.4/plug-ins/” and “.gimp2.4/plugins directory in my $HOME” the same under MacOSX? It would be under Unix, AFAIK.
It wouldn’t be that way under Unix.
Unix does not magically steal ‘-’s from filenames.
The perils of cut and paste – I overlooked the missing dash and concentrated on ~ and $HOME.
@David: Thanks for the hint, but it didn’t make any difference to me. In my home didn’t exist any .gimp[whatsoever]/ directory so I had to create it anyway. The preset paths to have GIMP look for plugins where /<myuserhome/Library/Application Support/Gimp/plug-ins and /tmp/skl/Gimp.app/Contents/Resources/lib/gimp/2.0/plug-ins
So maybe I should have put my plugins in the first mentioned directory but I feel more convenient to put it that way I mentioned in my first comment.
why synaptic?
write “with your package manager”
there is no synaptic in openSUSE. there is YaST
@MissM@rple (and any other Mac users)
- put the python script in the “normal” ‘plug-in’ folder (Home/~/Library/Application Support/Gimp/plug-ins)
- open the terminal and ‘cd’ your way to that folder
- make it executable with ‘chmod u+x [scriptname]‘ – default name for this script is zoneadjust.py
I”m not overly happy with command-line stuff in the terminal, although I’m a little better having played with Xubuntu on a eeePC, but I reckon if I can do it then anyone can …
To make this a little easier – is there a way of making a script executable without using the terminal?
hy
the python-gimp-pack for windows is now updated and works with last gimp 2.6.1, included the updated version of all the libraries listed by
Michael Schumacher in his message
But note
1 for peculiar architecture (ie X86) may be better download a speciphic version of python 2.5.2 directly to the python side
2 even if there is a more recent version of python ,2.6 that is not compatible
you need python 2.5, last for win should be 2.5.2
link for the pack remain the same :http:/photocomix-resources.deviantartart.com/gallery/
Hi There,
I’ve been trying to install plug-ins in Gimp. But I can’t find the Plug-ins folder. I tried Ctrl+H, but that too does not show the hidden folder. Any help?
Lazybug
Never mind, got it!
Windows XP user: I’ve downloaded the plugin, installed at C:Program FilesGIMP-2.0libgimp2.0plug-ins – nothing happened
Then, I downloaded the script and installed it at: C:Program FilesGIMP-2.0sharegimp2.0scripts
Nothing happened.
So I’ve downloaded the plugin, installed at C:Documents and Settingsaponstingl.gimp-2.6plug-ins – nothing happened.
Finally, I downloaded the script and installed it at C:Documents and Settingsaponstingl.gimp-2.6scripts.
Yep, nothing happened.
any thoughts?
Have you restarted GIMP?
I’ve restarted several times…
Same problem with StraightenCrop.py in Win XP Home (SP3, fully patched) …
It won’t run nor appear in any menu.
>> PyGTK, PyCairo and PyGobject (all available from the GNOME FTP mirrors as installers) are installed prior to installing GIMP
- “prior to installing GIMP” is a priori impossible. Does this mean that I have to deinstall and reinstall afterwards ??
Is there no other way ?
- Seems a lot of work for running a script …
Obviously an older post… still works on linux… change the 2.4 to 2.6 of course… thanks as I could not remember this.
You are welcome – it’s nice to be able to help.
I have updated the blog post.
Pingback: A plugin to export layers in GIMP file to single pdf file | Ecostudies