Weirdo hacks with Gnome panel..

So, I found Gnome-Swallow applet again. I had fun embedding my Gaim buddy list in my panel, though 120 pixels is not quite wide enough for it. It was fun nonetheless.

The biggest fun thing I did so far is this world-clock pseudo-applet.

world clock

Basically it’s a shell script that generates a PNG image of a digital clock on the fly with ImageMagick. Then it displays it - and it checks every minute that it has changed and updates itself. Hacky, but works great. I now know what time it is in the Boston office as well as in India where we have an office as well.

The ugly hack can be found here if you are interested.. I tried to be extra careful to not include a “rm -rf ~” on the script, but I give no guarantee whether it works or not :) It might though. Hopefully it can be fun for someone.

Gnome-Swallow has been fun for prototyping various things - it is nice to test out applet ideas etc when you can actually mock them up in Glade and just swallow the thing on the real panel to see how it interacts with the real world, even though it is just a dummy test thing you made.

4 Responses to “Weirdo hacks with Gnome panel..”

  1. Carsten Says:

    I like you widget and even posted in my blog with a tiny discussion arising. Might be interesting for you :-)

  2. Carsten Says:

    Sorry, here is the link (I made my URI the link, oops)

    http://www.livejournal.com/users/cniehaus/2889.html

  3. Tuomas Says:

    Heh, cool :-)