Post Reply 

Where do I put the py and scm files?

Apr 1, 2012, 23:43
Post: #1
Question Where do I put the py and scm files?
Lots of questions about this.

I downloaded a bunch of plugins/scripts that looked interesting. I learned that the scm files go into the scripts folder, but I don't know where to put the py (downloaded as py.txt) files. I looked in the plugins folder and there was an scm file. It works, so I assume it belongs there. Why there and not the scripts folder? Is that why some of the scripts I downloaded don't seem to be working? Do they need to be in the plugins folder? How do I know which folder to use for which script? Where do the py files go?

I greatly appreciate those who include a "read me " file with their download, containing directions about where to put things and what else I may need for the script to work.

TIA
~Faith
Find all posts by this user
Quote this message in a reply
Apr 2, 2012, 00:56
Post: #2
RE: Where do I put the py and scm files?
SCM's go in scripts, and PY's go in plugins (as would EXE's). If you are on Linux or OSX the PY's should also be marked "executable".

The real difference between scripts and plugins is that scripts are executed by the script execution plugin Smile while plugins are complete programs (that are lauched by, and know how to talk to, Gimp). Of course for the end-user it doesn't make much difference Smile

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Apr 2, 2012, 05:59
Post: #3
RE: Where do I put the py and scm files?
Thank you.
Find all posts by this user
Quote this message in a reply
Apr 2, 2012, 07:08
Post: #4
RE: Where do I put the py and scm files?
(Apr 2, 2012 00:56)ofnuts Wrote:  SCM's go in scripts, and PY's go in plugins (as would EXE's). If you are on Linux or OSX the PY's should also be marked "executable".

I use Linus/Ubuntu. Apparently I haven't done, and don't know how to do this, (I'm a total beginner at the programming side if GIMP), unless it's removing the ".txt" after the ".py". But some files didn't have the txt extension, so I don't think that's it.

Also, several plugins are folders full of various files. Do I put the whole folder into the plugin folder?
Find all posts by this user
Quote this message in a reply
Apr 2, 2012, 09:56 (This post was last modified: Apr 2, 2012 09:58 by rich2005.)
Post: #5
RE: Where do I put the py and scm files?
Quote:several plugins are folders full of various files. Do I put the whole folder into the plugin folder?

Generally No. But it is possible to add a new folder to your scripts/plug-ins path via Edit ->Preferences -> folders.

It is getting to the stage of not only which Os but in the case of Ubuntu which version.

This is Ubuntu 11 (VM) and some screen shots. Earlier Ubuntus will be easier.
Basically you need to open your home folders, enable 'show hidden files' (press ctrl-h) because your personal gimp folder .gimp-2.6 is hidden. Lots of sub-folders there. Scripts 'something'.scm go in the scripts folder, plugins go in the plug-ins folder. You can right click on a plugin, select properties and check that it is executable.

A couple of scrolls of screen shots
where they go
http://i.imgur.com/0pbSF.jpg
permissions & plugin browser
http://i.imgur.com/sIOYc.jpg

Have to confess, being used to a more traditional linux (PCLinuxOS at the moment) Ubuntu 11 is not a nice experience.

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Apr 2, 2012, 10:19
Post: #6
RE: Where do I put the py and scm files?
(Apr 2, 2012 07:08)FaithJ Wrote:  
(Apr 2, 2012 00:56)ofnuts Wrote:  SCM's go in scripts, and PY's go in plugins (as would EXE's). If you are on Linux or OSX the PY's should also be marked "executable".

I use Linus/Ubuntu. Apparently I haven't done, and don't know how to do this, (I'm a total beginner at the programming side if GIMP), unless it's removing the ".txt" after the ".py". But some files didn't have the txt extension, so I don't think that's it.

Also, several plugins are folders full of various files. Do I put the whole folder into the plugin folder?
It's all in your Gimp profile (but I see you've already read the tut that tells you where it is). To mark python scripts as executable, use the your favorite file manager (make sure that it shows "hidden files") to navigate to it, and you can set the "executable" flag to any file through its properties dialog (right-click, usually).

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Targa files are exporting solid white candycane2swt4u 1 134 May 29, 2017 18:42
Last Post: blighty
  NEF files eran.brokovich 1 406 Sep 13, 2014 10:16
Last Post: rich2005
  Resizing AI Files in Gimp Fiction 0 230 Sep 9, 2014 20:48
Last Post: Fiction
  Changing xcf files to jpg blaumann 3 255 Aug 19, 2014 20:28
Last Post: paynekj
Question picture files....? bunzplayer 1 208 Aug 2, 2014 16:51
Last Post: rich2005

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS