Weather extension for gnome shell
JavaScript Python Shell
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 121 commits behind simon04:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


gnome-shell-extension-weather is a simple extension for displaying weather notifications in GNOME Shell.

Currently, the weather report including forecast for today and tomorrow is fetched from Yahoo! Weather.



And with French translation:



For installation, run the following commands:

./ --prefix=/usr
sudo make install

That's it!


gnome-shell-extension-weather uses gsettings to save your configuration. You can use dconf-editor or gsettings from the command line to modify some parameters.

Location (cf. WOEID)

You can specify your location using the following command:

gsettings set woeid your_woeid

Temperature Units (optional, celsius by default)

You can modify the temperature unit using one of the following commands:

gsettings set unit celsius
gsettings set unit fahrenheit

Displayed Location (optional)

Sometimes your WOEID location isn't quite right (it's the next major city around). To customise the displayed city you can type:

gsettings set city your_city

Translate Weather Conditions (optional, true by default)

You may want to configure whether to translate the weather condition. If enabled, the condition is translated based on the weather code. If disabled, the condition string from Yahoo is taken. Note: Enabling the translation sometimes results in loss of accuracy, e.g., the condition string "PM Thunderstorms" cannot be expressed in terms of weather codes.

gsettings set translate-condition true
gsettings set translate-condition false

Use Symbolic Icons (optional, false by default)

If desired, you can enable the usage of symbolic icons to display the weather condition (instead of full-colored icons).

gsettings set use-symbolic-icons false
gsettings set use-symbolic-icons true

Show Text in Panel (optional, true by default)

You can configure whether to show the weather condition text (aka. comment) together with the temperature in the panel (requires restart). If only weather condition text is undesired, consider show-comment-in-panel option.

gsettings set show-text-in-panel true
gsettings set show-text-in-panel false

Show Comment in Panel (optional, false by default)

Configures whether to show the comment (aka. weather condition text, e.g. "Windy", "Clear") in the panel. Note that the temperature is still shown (if undesired, consider show-text-in-panel option).

gsettings set show-comment-in-panel false
gsettings set show-comment-in-panel true

Position in Panel (optional, center by default)

The position of this GNOME Shell extension in the panel can be configured to either 'center' or 'right' (requires restart of GNOME Shell).

gsettings set position-in-panel center
gsettings set position-in-panel right

Restart GNOME Shell

Don't forget to restart GNOME Shell:

  1. Restart GNOME Shell ([Alt]+[F2], r)
  2. Fork this project as you like


Copyright (C) 2011 Ecyrbe, Timur Kristóf, Elad Alfassa, Simon Legner, Simon Claessens

This file is part of gnome-shell-extension-weather.

gnome-shell-extension-weather is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

gnome-shell-extension-weather is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with gnome-shell-extension-weather. If not, see