Eye of GNOME Plugins

Available plugins

Plugins part of the eog-plugins repository:

Third party plugins

Plugins developed by third parties available on their web site:

Ideas

Plugin basic info

Installing plugins: Quick run-through

Here's how to find and install some plugins without being root. On Ubuntu you will need to first install the "eog-dev" package. Installing "postr" is also required for the the Flickr integration to work.

Now when you run eog, you can do:

and now, in the Tools menu, you'll have an "Upload to Flickr" entry provided by a plugin! Notice that if you have the collection window open, you can select multiple photos to send to Flickr at once.

Ubuntu Prerequisites

If you use ubuntu, you need to install these packages at first:

sudo apt-get install eog-dev python-gnome2-desktop-dev libexif-dev libexif-gtk-dev postr libclutter-0.8-dev libclutter-gtk-0.8-dev

Additionally, you need to download libchamplain-0.2 and libchamplain-gtk-0.2 from the libchamplain download page and then install them.

Writing plugins:

Python

Create a file called helloworld.eog-plugin:

[Eog Plugin]
Module=libhello
IAge=2
Loader=python
_Name=Hellloooooooooo
Icon=postr
_Description=Print a greeting to the console where eog is running
Authors=Asheesh Laroia <eog-oh-baby@asheesh.org>
Copyright=Copyright © 2007 Creative Commons
Website=about:mozilla

Now create a file called libhello.py:

   1 import eog
   2 
   3 class HelloWorldPlugin(eog.Plugin):
   4         def __init__(self):
   5                 eog.Plugin.__init__(self)
   6 
   7         def activate(self, window):
   8                 print 'The answer landed on my rooftop, whoa'
   9 
  10         def deactivate(self, window):
  11                 print 'The answer fell off my rooftop, woot'

Now, move all of these to ~/.gnome2/eog/plugins/

EyeOfGnome/Plugins (last edited 2009-08-29 21:25:00 by ChristopheDehais)