Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 Jul 28 '11 at 18:28

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

up vote 3 down vote accepted

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

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
  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.