02-04-2021, 02:09 PM
Hi, i'm using Gimp 2.10 on ubuntu-based linux.
I'm trying to follow this guide on how to get started with GIMP scripting, but when I save the .py file in the scripts folder or the plug-ins folders nothing happens.
When I restart GIMP I don't see the option to run that script in the menu.
I've also tried downloading other scripts from the internet, put them in the scripts folder and plug-ins folder, and same thing, they don't appear in the menu.
Am I doing something wrong?
This is the script's code, which I copied from the tutorial:
It's from 2017, so maybe it's not compatible anymore?
Thanks for the help guys.
I'm trying to follow this guide on how to get started with GIMP scripting, but when I save the .py file in the scripts folder or the plug-ins folders nothing happens.
When I restart GIMP I don't see the option to run that script in the menu.
I've also tried downloading other scripts from the internet, put them in the scripts folder and plug-ins folder, and same thing, they don't appear in the menu.
Am I doing something wrong?
This is the script's code, which I copied from the tutorial:
Code:
#!/usr/bin/python
from gimpfu import *
def first_plugin(timg, tdrawable):
print "Hello, world!"
register(
"hello_world",
"Presents a Hello, World! message",
"Presents a Hello, World! message",
"Brad Jones",
"Brad Jones",
"2017",
"<Image>/Image/Hello, World!",
"RGB*, GRAY*",
[],
[],
first_plugin)
main()
It's from 2017, so maybe it's not compatible anymore?
Thanks for the help guys.