LM13 + Gimp 2.8 + Python-Fu?

About writing shell scripts and making the most of your shell
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Locked
octavian_nita

LM13 + Gimp 2.8 + Python-Fu?

Post by octavian_nita »

Hi guys,

Anyone out there using Python _scripts_ (not plugins) in Gimp 2.8 in Linux Mint 13 (Cinnamon)?

I am desperately trying to install such a script (following every option/resource I could find on the Internet) but for some reason my attempts do not have any effect...

My script is clean, simple, made executable, Gimp is set to point to its home directory, every python dependency in Gimp is installed:

Code: Select all

#!/usr/bin/env python

from gimpfu import *

def say_hello():
    pdb.gimp_message("Hello!")

register(
   "pyfu-say-hello",
   "Say Hello - short name / description",
   "Say Hello - description / help",
   "Octavian Theodor Nita",
   "Company...",
   "2012",
   "<Image>/Create/ETC/Layout",
   "",
   [],
   [],
   say_hello
)
main()
Thanks a lot!
Tavi
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Scripts & Bash”