Skip navigation.

Log in | Sign up

Linux for Designers

a blog by Eckhard M. Jäger

Posts tagged with "new from template"

gEdit Template Plugin Update

, , , ...

I wrote an update of my "New from Template" plugin for gEdit. It should now working with Gnome 2.26 and Ubuntu 9.04.
» Read more...

updated gEdit Template plugin

, , , ...

I made a code cleanup of my "New from Template" plugin for gEdit.

gEdit Template plugin

, , , ...

For SweeTS i needed the possibilty to create a document based on a template file (the normal "New from template" function). gEdit didn't ship with that and so i tried to create it. I was lucky to find a start in the familiar plugin by Rob Miller which i modified. This plugin is completely localized in german and english.

How it works:
* Copy the files of the Template plugin into ~/.gnome2/gedit/plugins
* create a folder "templates" in ~/.gnome2/gedit
* copy your templates files into it (example default.html)
* Start gEdit and enable the plugin "New File From a Template" in the preferences
* After a restart the plugin appears in the File menu
* Assign the typical shortcut "Shift+Ctrl+N" to it
* the new created files will get the mimetype of the template files

Download:
http://files.myopera.com/area42/files/gedit_template_plugin.zip

gEdit plugins i wrote too:
http://my.opera.com/area42/blog/gedit-language-reference-plugin
http://my.opera.com/area42/blog/gedit-browser-preview-plugin
A lot of other gEdit plugins can be found here.