Hello! I am trying to install Ofnuts' wonderful GIMP plugins under an Ubuntu derivative but am not having any luck.
The GIMP folder and its child the "plug-ins" folder are under "~\.config\" these days.
Having placed the *.py file into the "plug-ins" folder, it isn't immediately activated after restarting. Is there a manifest somewhere I need to add it to as well? I saw that hinted at in another thread.
Thanks in advance!
P.S., I don't have a "Python-Fu" console, rather it is "Script-Fu," and the popular command to find the GIMP directory didn't work in "Script-Fu"-- what's the background on that?
Quote:.....an Ubuntu derivative.....P.S., I don't have a "Python-Fu" console, rather it is "Script-Fu,"
Depends on the version of Ubuntu and where the version of Gimp comes from.
Since you have the user Gimp profile (and for plugins) ~/.config/GIMP/2.10/plug-ins/ chances are you have Gimp from the 'buntu repositories possibly Gimp 2.10.22 which does not contain the Gimp python packages = no working python = no
Filters > Python-fu menu entry.
Also possible is the latest Gimp 2.10.30 from an ubuntu PPA. No python in that either.
If you want a ready-built Gimp with python included, there is the flatpak version, look on the
http://www.gimp.org page for installation details.
Note: the user profile for this is buried in ~/.var/app/org.gimp.GIMP/config/GIMP/2.10/plug-ins
There is also an older version of Gimp, an appimage, here:
https://github.com/aferrero2707/gimp-appimage/releases/
I still use that Gimp 2.10.22 on a daily basis. That has its own user profile as well, ~ /.config/GIMP-AppImage/2.10/
Depending on how confident you are installing linux packages, python support can be added see:
https://www.gimp-forum.net/Thread-Heal-S...4#pid18354
One warning, avoid the 'buntu 'snap' installation from the so-called Ubuntu Store. Perfectly safe and working, but no python.
Edit: just a reminder, plugins in Gimp, either python or binary need to be executable. Ofnuts python plugins in a zip package are already set as executable.
The other thing to note is that, on Linux systems, you have to make the Python plug-in executable otherwise it won't show in the menus even if you have a version of GIMP that includes Python.
Furthermore, on V2.99 and later the Python plugin has to go in a folder with the same name (without the .py extension) as the plug-in or, again, it won't appear in the menus. This doesn't apply to V2.10.30 although doing this wouldn't cause a problem.
I have the GIMP from the Ubuntu repositories on Pop OS.
So it's safe to say the lack of Python is why the plug-in isn't populating? All I tried was dropping the *.py into the directory, and flagging it as executable.
How might I add Python to a GIMP install that doesn't have it? I can Google this later so feel free to ignore.
I like to avoid flatpacks when possible, as they turn a few dozen MB into a GB+...
(01-12-2022, 03:14 PM)branpurn Wrote: [ -> ]How might I add Python to a GIMP install that doesn't have it? I can Google this later so feel free to ignore.
Just a repeat of the earlier
Depending on how confident you are installing linux packages, python support can be added see:
https://www.gimp-forum.net/Thread-Heal-S...4#pid18354
Edit: Is this by any chance an arm64 Raspberry PI ? in which case I do not know
(01-12-2022, 10:09 AM)programmer_ceds Wrote: [ -> ]The other thing to note is that, on Linux systems, you have to make the Python plug-in executable otherwise it won't show in the menus even if you have a version of GIMP that includes Python.
Furthermore, on V2.99 and later the Python plugin has to go in a folder with the same name (without the .py extension) as the plug-in or, again, it won't appear in the menus. This doesn't apply to V2.10.30 although doing this wouldn't cause a problem.
Thanks! Those were the two missing bits for me. I have searched for ages.