You Got A Question? Ask    GNOME Community!

gtk-theme2
 12012   |  Oct 25
gtk_logo2
 9553   |  Mar 17
arch
 8022   |  Mar 28
 6485   |  Jun 17

[Improved] GNOME weather extension

This post was made with an older stylesheet


GNOME weather extension

Today I want to show you how to easily install the most recent version of this awesome extension in your Ubuntu/Fedora/Arch distribution using repositories instead of compiling the code. Note also that the last version of the GNOME Shell weather extension comes with a few improvements:

  • City search: now we can type our city and select it, instead of introducing a weird code
  • Multi-Location: we can configure as many locations as we want and select them from the extension detailed view
  • Force update: a new button to force the weather data update

 

GNOME Weather Extension
GNOME Weather Extension

How to install it

Ubuntu

Use this ppa repository:

sudo add-apt-repository ppa:gnome-shell-extensions
sudo apt-get update
sudo apt-get install gnome-shell-extension-weather

Fedora

The package is available at rpmfusion:

$ su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
$ su -c 'yum install gnome-shell-extension-weather'

Arch

Download the extension and create the package:

$ wget https://aur.archlinux.org/packages/gn/gnome-shell-extension-weather-neroth-git/gnome-shell-extension-weather-neroth-git.tar.gz
$ tar xvzf gnome-shell-extension-weather-neroth-git.tar.gz
$ cd gnome-shell-extension-weather-neroth-git && makepkg -si

Specs

{
"uuid": "weather@gnome-shell-extensions.gnome.org",
"name": "Gnome Shell Extension Weather by Neroth",
"description": "A simple extension for displaying weather information from several cities in GNOME Shell",
"shell-version": [ "3.4", "3.5", "3.6" ],
"localedir": "/usr/share/locale",
"url": "https://github.com/Neroth/gnome-shell-extension-weather"
}

 
  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
  • alex285

    This is cool, I had rpm fusion but I didn’t know that extension was included there! Btw you need to restart shell Alt+F2 & “r” to enable it.

  • Gevera

    Does it supports GS 37.3?

    • alex285

      I just change the shell-version in json and I could run it on 3.7.x, but I cannot use the extension preferences. You can edit manually these settings.. but anyway.. I guess the answer is that doesn’t work.

      It works if you are living in Cambridge Massachusetts, since that is the default location :)

  • JJ

    Why does it use its own preferences window instead of the default gnome shell extension preferences?

  • jsnj

    This is the version I use with Ubuntu 12.04 since the other version Bill highlighted is only for v3.6. I prefer the other version though because you can click on the location to view an extended 5-day forecast that opens in your browser. This version doesn’t offer that feature.

  • http://profiles.google.com/tshimulu Luya Tshimbalanga

    Quick note:
    You can use “yum install /package” instead of localinstall command (depreciated since F16)

  • giubani

    Hi, I am using this extension on Arch, does it update like every other app or do I have to download it again and create the package?

  • IsacDaavid

    I’m currently using a fork which works flawlessly with Tweak Tool and Extensions Preferences under 3.6. The main coder said he had submitted this version to extensions.gnome.org about 2 months and a half ago, but I guess it didn’t pass revision. You can check it here: https://github.com/canek-pelaez/gnome-shell-extension-weather

  • Christian Louis Gabriel METZLE

    Hi everyone ! I’m Neroth the dev of this extension.
    Great news : the extension is in extensions.gnome.org !