Playing around with Python bindings for GNOME

Last evening, I was pretty bored, and decided to teach myself PyGTK and the other related Python bindings for GNOME. My Python skills are not very good (the only things I have done earlier are a few ugly and hacky scripts to find out translation inconsistencies in a given set of PO files and a really weird sounding Bangla enabling frontent for Dhvani). So after around two hours of struggling and a lot of head scratching, I came up with a Python based plugin for Gedit which shows some (not very interesting) information about the currently opened file. Here’s a screenshot:

Document Properties

You can download the plugin (usual alpha software related warnings apply) from my here. To install, perform the following steps:

$ mkdir -p ~/.gnome2/gedit/plugins
$ cd ~/.gnome2/gedit/plugins
$ tar xzvf <wherever you have downloaded the tarball>

Commentary

Leave a response »

Trackbacks

  1. [...] Search Home  |   FSF India  |   The GNOME Journal  |   Ankur Bangla  |   L2C2 Technologies  |   Linux India « Playing around with Python bindings for GNOME [...]

    Sayamindu’s Blog » Blog Archive » Gedit Document Properties Plugin - version 0.2

Leave a comment, a trackback from your own site or subscribe to an RSS feed for this entry. Trackback URL for this entry Comments feed for this entry

Leave a response

Leave a URL

Preview