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 recently upgraded to Ubuntu 13.04 and I use gedit for a lot of things.

I was trying to install some plugins that I use quite frequently and I came into some issues.

First I installed the plugins like so:

sudo add-apt-repository ppa:gnome3-team/gnome3
sudo apt-get install gedit-plugins

I can see the plugins in gedit but when I choose to use a plugin via the edit>preferences>plugins menu this message shows up:

(gedit:6027): libpeas-WARNING **: Could not find loader 'python3' for plugin    

I know I have python3 installed because when I type python3 in my terminal I get:

 Python 3.3.1 (default, Apr 17 2013, 22:32:14) 
 [GCC 4.7.3] on linux
 Type "help", "copyright", "credits" or "license" for more information.

I also have python 2.7.4, by similar terminal command.

If anyone can help me get these plugins up and running in gedit I would appreciate it very much.

share|improve this question
up vote 5 down vote accepted

I had the same issue with Ubuntu 12.04 and Gedit 3.4.1, but with a different plug-in.

This is how I resolved it: Find the file [plugin-name]*.plugin in gedit's plugin directory and edit the line Loader=python3 to Loader=python

My gedit plugin-dir was under /usr/lib/gedit/plugins/ if it helps.

share|improve this answer
I had a problem with another plugin (gedit-reflow) and the opposite change worked. (gedit 3.8) – alfC Sep 26 '13 at 8:17
Ditto I for ipython -- I had to use Loader=python3 – Amanda Dec 19 '13 at 17:53

Might you have your Python virtual environment messing up the plugins as I had?

I got plugins like codecomment working by hiding my PYTHONPATH and python virtual environment before launching Gedit.

Since I still want to use my venv I have an executable script 'gedit' in my path with

PYTHONPATH= PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games /usr/bin/gedit "$@"

At least this way the plugins work for me. I'm running Ubuntu 14.04 and Gedit 3.10.4.

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.