Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

share|improve this question
up vote 42 down vote accepted

gEdit 3

The 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 gedit:

  • where the plugin can be found,
  • what it's called,
  • a short description,
  • who is the author, etc.

This file is in the .desktop format.

The second file is the actual code.

Both of these files need to be placed in either:

  • the system-wide plugins directory /usr/lib/gedit/plugins/, or
  • in the user plugins directory, which may have to be manually created - ~/.local/share/gedit/plugins/.

Installing Plugins

First create the plugin folder:

mkdir -p ~/.local/share/gedit/plugins

Now create a .plugin file using gedit N.B. these files have the format:

Name=Example py
Description=A Python plugin example
Authors=Jesse van den Kieboom <>
Copyright=Copyright © 2006 Jesse van den Kieboom <>


For your v2 plugin you already have a file called project-manager.gedit-plugin so you can rename it:

mv project-manager.gedit-plugin project-manager.plugin

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

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

share|improve this answer
Note that there is a good library of third party plugins for gedit 3 here: For those that missed it in the section above the critical bit for a plugin being found by gedit 3 is that the plugin has a .plugin extension. If it has a .gedit-plugin extension then it is an old version. – icc97 Jun 22 '13 at 8:42

I finally found where the gEdit plugins are stored. Try putting the two files to whatever plugin here: /usr/lib/gedit/plugins.

share|improve this answer

2016 Update

To install all the gedit plugins, try:

sudo apt-get install gedit-plugins

This worked great on Ubuntu 14.04. I'm currently using gedit version 3.10.4.

You will need to activate them by navigating to Edit - Preferences - Plugins. Then select the desired plugins to activate.

share|improve this answer
To be more precise (as installing a third-party plugin made me crazy), this are the steps to go (from terminal): 1) sudo add-apt-repository ppa:gedit-bc-dev-plugins/releases; 2) sudo apt-get update; 3) sudo apt-get install <plugin-name> (e.g. sudo apt-get install gedit-classbrowser3g-plugin). Cheers! – umbe1987 Mar 14 at 18:23

I have a 64-bit Ubuntu 14.04 LTS and the folder with the plugins is /usr/lib/x86_64-linux-gnu/gedit/plugins/

Copying inside it the *.plugin and *.py files made the trick for me

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.