This Extension Shows Weather Forecast as Desktop Widget in Ubuntu 22.04

There are quite a few weather apps for Ubuntu Linux. Here’s a new one for GNOME desktop 40+.

Different to other apps, the extension show a little icon in system tray area for current weather condition. By clicking on it will display weather forecast for next days as desktop widget.

Though it only shows the basic icons (e.g., cloudy, clear, rain, or snow.), and allows to control via:

  • single click on indicator icon to display widget.
  • right-click on desktop widget to hide.
  • middle click to refresh.
  • Scroll up/down to increase/decrease days.

As you see in the picture, the icons are somehow too big in my case in Ubuntu 22.04 laptop. And, it so far only supports for getting weather information from OpenWeatherMap.org.

How to Install the weather widget:

NOTE: the extension works on Ubuntu 21.10, Ubuntu 22.04, Fedora 34+, and Arch Linux etc with GNOME 40+.

1.) Ubuntu user needs to first press Ctrl+Alt+T to open terminal, and run command to install the browser agent:

sudo apt install chrome-gnome-shell

2.) Next, click the link below to go to extension page and turn on the slider icon to install it.

Gnome Shell Weather

NOTE: The pre-installed Firefox in Ubuntu 21.10+ is SNAP that so far does not support this thing! Use another browser or install Firefox as deb.

And, if you don’t see the on/off switch, install browser extension via ‘click here to install browser extension‘ link and refresh the page.

3.) Finally, open “Extensions” app (install via sudo apt install gnome-shell-extension-prefs). And, configure the extension to search and set your location.

As you see, the app also has option to disable or remove the extension as you want.