(12-23-2024, 12:07 AM)slimeball1297 Wrote:(12-22-2024, 05:54 PM)Ofnuts Wrote:I was able to find the one of the folders (unfortunately not the user files like you recommend) and copied the plug-in I downloaded into it. I then quit gimp and reopened it but my plug-in was not there. This leads me to think my .py file isn't executable and for that reason I ask what is an executable flag and how do I make my plug-in executable.(12-22-2024, 03:24 PM)slimeball1297 Wrote: New to gimp. Im trying to download a plug-in to measure a path but I'm running into a problem where when a go to select the file after going to Edit > Preferences > Folders > Plug-ins and then selecting my folder and entering my file manager, I am unable to select the .py file that I need.
My version of gimp is 2.10.38 and my computer is macOS.
Would love some help with this.
As the Folders > Plugins implies, this part of the UI is meant to manage folders, not individual Python files. These are folders that Gimp checks on startup to see if they contains plug-in executables, and a folder can contain several unrelated plugins. So, in practice, the tab should already list two folders, and you just put the Python file in any of these two folders (preferably the one in your user files). Since you are on OSX, make sure the .py has the executable flag.
On Unix systems (OSX is an Unix system), files have access flags (read, write, and execute). To be executed a file has to be marked executable (done with chmod +x /path/to/file if your file explorer can not set this flag on files).
Also, if you are on a Unix systems, "dotted files" (files with a name that starts with a dot) are "not shown" by default (some say "hidden" ...). One of the directories you see (and the one you should use) is probably under a .config so you should tell your explorer to show you hidden files.