Topic: Computers Weather forecast in the Gnome panel, revisited


10:18pm, Friday 9 July 2010

About a year ago I threw together a hacky mess of Perl and gnome-swallow-applet to display the BBC's 3-day weather forecast in the Gnome panel. I recently rewrote it to use Perl's Gnome2::PanelApplet which seems to have had the relevant bug(s) fixed since I last tried.

There are still some rather rough edges: you'll still need to change the feed location from the coded-in one for Cambridge to something suitable for your location; and don't look at the code dealing with the use of a web proxy. Still, the embarrassing match-happy regexp error which meant that Sunday was always displayed as being sunny is gone...

It needs a bunch of Perl modules, including Gnome2::PanelApplet (from CPAN, or Debian packaged for i386 by me here). Drop this script in /usr/local/bin and this applet description file in /usr/lib/bonobo/servers and you should be able to do the usual right-click/add to panel.

Have fun. If you fix any FIXMEs please let me know.

back to main


Powered by Personal Weblog.

February 2024
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29    
Jan   Mar




Dave Holland <>
$Id: index.php,v 1.75 2010-07-09 22:15:04 dave Exp $