How to develop plugins for Scratch

Asked by Carc on 2012-05-13

Is there any info about developing plugins for scratch?
Can I develop a plugin which is not part of the scratch code? If so, where to place it so that scratch can load it?

Question information

English Edit question
Scratch Edit question
No assignee Edit question
Last query:
Last reply:
Mario Guerriero (mefrio-g) said : #1

You can follow standard libpeas mode. Try to follow generic examples from libpeas trunk or from scratch trunk

Generally you have to generate a file and put it in lib/scratch/plugins/pluginname with a pluginname.plugin file

I will write some better documentation soon in order to provide better informations about scratch plugins making

Jason Pezzimenti (sv-jase) said : #2

Folder lib does not contain a directory called "scratch" on Elementary OS Luna. Can't find the directory to place my extension. Have you written the documentation yet, Mario?

Jason Pezzimenti (sv-jase) said : #3

Ok, I've got it. The correct path is /usr/lib/scratch/plugins/pluginname

Can you help with this problem?

Provide an answer of your own, or ask Carc for more information if necessary.

To post a message you must log in.