Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I created some files for Python-fu codes I found in internet in Gimp scripts folder, naming them as *.pyscript. Is it right?

I don't know if they are already installed or if I have to execute them once to install them. Also I don't see any changes in Gimp menus, as expected. Any ideas?

share|improve this question

migrated from graphicdesign.stackexchange.com Jul 28 '11 at 18:28

This question came from our site for Graphic Design professionals, students, and enthusiasts.

2 Answers 2

i dont know whether its useful or not for you but have a look, who knows you get a clue on the fly...

Sorry if you don't find this answers useful :|

share|improve this answer
Interesting... According to this link gimptips.com/articles/installing-gimp-scripts pointed from one of these pages, it is so easy, although I have to install more Python "modules" (PyCairo and PyGObject). Also in another of these links, they say that file extension is "py" and that it could be called from OS command prompt... I'll test in my home ans so we will organize your answer to contains more objective info :) –  kokbira Jul 28 '11 at 13:12

To make it work in linux (I'm on Ubuntu):

  1. the correct extension is .py - its a Python script after all
  2. put it into $HOME/.gimp-2.x/plug-ins folder
  3. change it to executable (chmod +x script.py)
  4. restart Gimp

Also re-check if you registered the script correctly. Source should be something like this:

from gimpfu import *

def my_filter_function(timg,tlayer):
  ... do your work here ...

  "Script blurb",
  "Script help",
  "Author name",
  "Copyright information",
  "<Image>/Filters/Menu item/&Where it will appear",
  "RGB*, GRAY*",

register function information is also available from script-fu console - type this in:

>>> from gimpfu import *; help(register)
Help on function register in module gimpfu:

register(proc_name, blurb, help, author, copyright, date, label, imagetypes, params, results, function, menu=None, domain=None, on_query=None, on_run=None)
    This is called to register a new plug-in.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.