You Got A Question? Ask    GNOME Community!


Weather extension is now available for Gnome Shell 3.6!

This post was made with an older stylesheet

What does it do?

This extension is about displaying the current weather conditions, humidity, pressure, and sunrise/sunset time of a selected location, while also providing a forecast for the next two days according to Yahoo Weather. The extension is placed on the top panel and displaying the temperature with the corresponding icon and provides more detailed info in a pop-up when pressed.

How can I install it?

This extension is not yet present in the Gnome Shell extensions website so you’ll need to download the zip file from the project’s git page and compile it. To do this you will have to open a terminal in the folder that was created after unzipping the file that you downloaded and run the following commands:

./autogen.sh
make
sudo su -c ‘make install’

After that you can enable the extension from the Gnome Tweak tool. Note that you may have to log out and log in again to see the available option.

How to configure?

Open a terminal and write the following command: gnome-shell-extension-prefs and press enter. This will open the Shell extension preferences tool. You can then choose the Weather Indicator and start configuring it. Everything is clear and easily understandable except maybe the location WOEID that may bother you.

Instead of searching for yahoo’s location woeid that probably won’t work as intended (I don’t know why), you should go ahead and search for your location’s ID code from this website. Copy and paste the alphanumeric code in the extension’s preferences WOEID box and you are done!


 
  We can't watch comments unless G+ provides an API or if you send a notification, e.g +World Of Gnome
     Sometimes is better to place your questions on GNOME Community
  • http://varemenos.com/ Adonis K. (Varemenos)

    make doesn’t work, im getting these 2 messages:
    1) Makefile:466: *** missing separator. Stop.
    2) make: *** [install-recursive] Error 1

    • billtoulas

      Could you provide us with more info? I tested this on Ubuntu 12.10 and works. Are you sure you didn’t get any “missing libraries” warning after the ./autogen command?

      • http://varemenos.com/ Adonis K. (Varemenos)

        From what i see, I only got 1 warning (which is because i didn’t run ./config/configure):
        http://pastebin.com/J2Y8PRUp

        • billtoulas

          Here is what this website http://theory.uwinnipeg.ca/localfiles/infofiles/make/make_121.html says about your error:
          This is make’s generic “Huh?” error message. It means that make was completely unsuccessful at parsing this line of your makefile. It basically means “syntax error”. One of the most common reasons for this message is that you (or perhaps your oh-so-helpful editor, as is the case with many MS-Windows editors) have attempted to indent your command scripts with spaces instead of a TAB character. Remember that every line in the command script must begin with a TAB character. Eight spaces do not count.

          • http://varemenos.com/ Adonis K. (Varemenos)

            Ya i know what missing seperator means, i just couldn’t get it to work. I tried replacing some spaces with tabs but couldn’t get it to work. Ohh well, im ok i will most probably stick with Docky’s weather docklet until they release it in extensions.gnome.org

    • jsnj

      I got the same exact errors. Also, ./autogen wasn’t recognized. I had to use ./autogen.sh. This was after I installed both autogen & gnome-common via synaptic. Compiling always seems to be such a pain in the *ss. Will also wait until it’s available as a proper download or on the extensions site.

      • Canek Peláez

        As of now (like, 5 minutes ago), you can (as simple user) do:

        ./autogen.sh –prefix=$HOME/.local –with-local-install=yes
        make
        make install

        and it will install the extension to your $HOME, no root needed.

    • Canek Peláez

      I could use a little more information, like distribution and which packages (gnome-shell, glib) you have installed.

      • http://varemenos.com/ Adonis K. (Varemenos)

        trying to use it on Ubuntu 12.10 Gnome Remix (3.6 GS),
        i guess I’m missing some kind of make/build software but im not sure which one.

        • Canek Peláez

          Do you have libglib-2.0-dev installed? That seemed to do the trick for jsnj.

          • http://varemenos.com/ Adonis K. (Varemenos)

            Yep that worked, thanks

  • вася

    когда будет на сайте расширений, тогда и будет “is now available”.

  • John

    It seems these are not only old news, but have already been superseeded: there’s a fork of this extension, which besides not requiring you to deal with WOEID, also lets you add multiple locations.

    See this for more details: http://www.webupd8.org/2012/06/alternative-gnome-shell-weather.html

  • http://twitter.com/gahramanow Anar Gahramanov

    worked for me, thanks :)

  • http://profiles.google.com/mikefreeman1972 Michael Freeman

    I installed it, but in Gnome-tweak-tool, the extension has an orange triangled ‘!’ next to it, and I can’t enable it. This is with Gnome 3.6. I’ve tried disabling all other extensions to rule out extension conflicts.

  • Pingback: [Improved] GNOME weather extension | woGue

  • ana

    I have problem – make doesn’t finish. Here’s what I get:
    Making all in src
    make[1]: Entering directory `/home/a/Downloads/gnome-shell-extension-weather/src’
    GEN weather-settings
    GEN weather-settings.desktop
    GEN metadata.json
    make[1]: Leaving directory `/home/a/Downloads/gnome-shell-extension-weather/src’
    Making all in po
    make[1]: Entering directory `/home/a/Downloads/gnome-shell-extension-weather/po’
    make[1]: Nothing to be done for `all’.
    make[1]: Leaving directory `/home/a/Downloads/gnome-shell-extension-weather/po’
    make[1]: Entering directory `/home/a/Downloads/gnome-shell-extension-weather’
    make[1]: Nothing to be done for `all-am’.
    make[1]: Leaving directory `/home/a/Downloads/gnome-shell-extension-weather’

    I use Ubuntu 12.04 GNOME Shell 3.4., and I have installed all required packages