Ubuntu / Linux news and application reviews.

GNOME Shell weather extension

extensions.gnome.org is not yet ready and because I got many requests to upload more extensions to the WebUpd8 GNOME 3 PPA, I've started packaging some unofficial GNOME Shell extensions for Ubuntu 11.10 Oneiric Ocelot.

The first one is GNOME Shell Weather Extension. This extension displays the current temperature in the top GNOME Shell panel and clicking it, you can see some more info such as the humidity, pressure or wind as well as a forecast for tomorrow.


GNOME Shell weather

GNOME Shell Weather extension comes with a GUI (disabled by default in GIT until it can be automatically installed via makefile but I've enabled it for those of you who will install it from the WebUpd8 GNOME 3 PPA) which lets you move the icon from the center of the top bar to the right, switch between Celsius and Fahrenheit units, enable/disable symbolic icons, text or comment on the panel and more.

For now, you can't set the location WOEID using this configuration tool so you must use dconf-editor for this. I've reported the bug and it was fixed so I've uploaded a new package so there's no need to use dconf for this anymore.


Install GNOME Shell Weather extension in Ubuntu 11.10 Oneiric Ocelot via PPA


To add the WebUpd8 GNOME 3 PPA (which also provides the official GNOME Shell extensions) and install GNOME Shell Weather extension in Ubuntu 11.10 Oneiric Ocelot, use the commands below:
sudo add-apt-repository ppa:webupd8team/gnome3
sudo apt-get update
sudo apt-get install gnome-shell-extensions-weather


How to configure GNOME Shell Weather Extension



1. Click the extension icon on the top bar and select "Preferences". On the "Location" tab, there's a field called "WOEID" - here you need to enter the Yahoo Weather ID for your city (see below).

2. To get your Yahoo ID, go to http://weather.yahoo.com/, enter your city/zip code and when you find it, look for the orange "RSS" icon on the right. Hovering this icon, you'll see your code - this is the WOEID.

3. And finally install GNOME Tweak Tool:
sudo apt-get install gnome-tweak-tool

Then search for "Advanced Settings" (that's how GNOME Tweak Tool shows up) in the Activities Overview and enable GNOME Shell Weather extension.

Oh, and if you change the location on the panel, you'll have to restart GNOME Shell or log out and log back in. That's not required for the other settings.

If you encounter bugs, report them @ GitHub.