I just installed the ubuntu 11.10, and I want to install a plugin for gEdit.
I unpacked the plugin to the following folder: ~/.gnome2/gedit/plugins but in the gedit doesn't show up the plugin.
|
I just installed the ubuntu 11.10, and I want to install a plugin for gEdit. I unpacked the plugin to the following folder: |
||||
|
|
gEdit 3The version of gEdit in Oneiric & above is v3 built using gtk+3 libraries. The plugin folder locations are slightly different than from gEdit v2. Every plugin needs at least two files. One file (pluginname.plugin) is to tell
This file is in the The second file is the actual code. Both of these files need to be placed in either:
Installing PluginsFirst create the plugin folder:
Now create a
For your v2 plugin you already have a file called
Then edit the plugin file and change the section header to "[Plugin]" You will now see this in your gedit plugin list. However for me it threw errors about "import gedit, gtk, gtk.glade". You need to change the source code to import the gtk+3 variants - called python introspection. An excellent tutorial for converting from gtk+2 to gtk+3 see |
||||
|
|
|
I finally found where the gEdit plugins are stored. Try putting the two files to whatever plugin here: |
||||
|
|