1

I'm trying to install a plugin for the gedit text editor that will allow for split pane viewing of files; i.e. I will be able to view multiple files side-by-side (simultaneously).

The plugin came in a Python file, so I went and tried to run it in my terminal, and this was the result:

$ python SplitView.py
     Traceback (most recent call last):
       File "SplitView.py", line 8, in <module>
         import gedit
     ImportError: No module named gedit

Given the error on the final line, it would seem that I'm missing a "module" named "gedit". All help is greatly appreciated.


Extra info:

  • I'm running on Ubuntu 14.04
  • My default version of Python is 2.7.6
  • I'm using GEDit Version 3.10.4
4

1 Answer 1

0

You should place the plugin in $HOME/.local/share/gedit/plugins and after (re)starting Gedit it should be available in Edit=>Preferences=>Plugins

3
  • Hmm... the only /gedit directory on my system is in $HOME/.config, and there's nothing inside of there other than an "accels" file.
    – Nednarb
    Jul 12, 2015 at 2:53
  • @Nednarb You can create that directory manually if it doesn't exist.
    – Timo
    Jul 12, 2015 at 11:36
  • Thank you @Timo That works for another plugin I found that's actually correct for my version of gedit.
    – Nednarb
    Jul 12, 2015 at 21:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .