Where can I select my personal plugins in GIMP?

一世执手 提交于 2019-12-24 14:00:29

问题


I have been trying to run these sample scripts (specially helloworld.py and pytemplate.py) to get the hang on using python code in GIMP. I'm specially interested in pytemplate.py which is intended to show how to do something over an existing image (hopefully, the current state of the image which has the focus)

As far as I know, I have to place them in ~/.gimp-2.8/plug-ins/ (in my GIMP's personal folder) and give them run permissions (chmod +x somescript.py).

The gimpfu.register() function has a kwarg that seems to control where the "trigger option" would appear. It looks like:

menu="<Image>/Filters/Enhance"

However, my GIMP has the menus in Spanish language, somehow this makes me being afraid that it can interfere in rendering the "trigger"... Anyway, I restarted GIMP and tried to follow the menu path from my GIMP's main window's menu and didn't find anything at all.

The point is: What else do I have to do to run the script and see what happens? Can I actually control where the "trigger option" to run my script will appear with menu kwarg?


回答1:


I reviewed permissions and they were 400. I was sure to have executed chmod +x *py. Well, finally I found the "triggers".



来源:https://stackoverflow.com/questions/33402897/where-can-i-select-my-personal-plugins-in-gimp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!