Oct 26, 2007

Deskbar makes friends with Tomboy

Hi there, again. Recently I've been working on my first deskbar plugin and now is the time to finally give it some freedom!
As you can guess it's a tomboy plugin for deskbar, so you can search your notes in your favorite place.
There's still some work to be done, but it's usable at the current state. For those of you who love screenies here's a sneak peek:


So yes, it does a search by title and tags. It doesn't work with history yet, and won't open your notes if tomboy is not running (it uses dbus).

Get it while it's hot

You can download version 0.1 here. Tested only on Ubuntu 7.10 Gutsy Gibbon.

Installing

There are 2 places you can copy the plugin to. You can copy it to /usr/lib/deskbar-applet/modules-2.20-compatible/ if you want it system-wide (requires root) or to .gnome2/deskbar-applet/modules-2.20-compatible/ in your home directory if you want it just for a single user.

Enjoy

Please leave your wishes/bug reports/whatever as a comment and I'll try to look into it and improve the plugin.

3 comments:

Sandy said...

Wow, this looks really cool! I haven't upgraded to Gutsy yet so I can't try it out, but poking at the source, I see you're manually parsing the XML. Just FYI, there are DBus methods to do things like getting the tags for a given note. We generally discourage direct note file access...if there's anything you feel is missing from the DBus interface, please let us know! :-D

Anyway, I'm really excited to give this a try once I upgrade to Gutsy. Thanks!

robzon said...

Actually I first tried to use DBus, but it was way too slow. Deskbar didn't like it either, it just kept getting frozen for like 15 seconds every time I started fetching messages from Tomboy.
For now I just did XML parsing until I figure out what's wrong with the DBus version.

Cheers!

Palfrey said...

You may want to have a look at
http://bugzilla.gnome.org/show_bug.cgi?id=502061 which is someone managing to crash deskbar with your applet (admittedly it shouldn't crash in later versions of deskbar-applet, but there will still be an error with your applet in those versions