How to Install Simple Weather Indicator on Ubuntu Linux Quickly

Show Weather and Temperature Info on Ubuntu Panel - Did you ever think to show the weather, detect your location and even the temperature respectively on your Ubuntu's top panel? You're in the right place!

I will show you an Ubuntu app called Indicator Weather. It displays in the small indicator for users. Weather updates every 10 minutes and of course it requires the active Internet connection.

What's Indicator Weather?

Indicator Weather is free software that developed by Kasra Madadipouya. You can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.

How to show weather and temperature information in Ubuntu Linux

Developed with Python and uses two web service calls, (based on Open Weather Map) to get weather temperature automatically. See the screenshot below :

Simple Weather Indicator now has an application launcher. So it let you to open the app from Ubuntu's Unity Dash.

Supported Ubuntu versions

It supports most Ubuntu version ( 32bit and 64bit ) including :
  • Ubuntu 16.04 LTS Xenial Xerus
  • Ubuntu 15.10 Wily Werewolf
  • Ubuntu 15.04 Vivid Vervet
  • Ubuntu 14.04 LTS Trusty Tahr

Also on Linuxslaves :


The indicator has dependencies for Python >= 2.7 and requires some Python libraries which are listed below :
  • Python >= 2.7
  • Python gtk library
  • Gir1.2-appindicator3-0.1
  • Python urllib
  • Python json library

Installing Simple Weather Indicator

You can two choices to install indicator weather into the system : manually from .deb installer package or alternatively, for those who love using PPA.

Step 1 - Open new terminal window then add this PPA :

sudo add-apt-repository ppa:kasra-mp/ubuntu-indicator-weather

Step 2 - Once added, simply run the command below to update the local repository index :

sudo apt-get update

Step 3 - Next install the application by run the following :

sudo apt-get install indicator-weather

You can now open the app from Ubuntu dash just like we have mentioned earlier.

Open Application From Ubuntu Unity Dash

If you need, you can stop automatic location detection, hide location, set the temperature scale from Celcius to Fahrenheit, round temperature, and auto-start option by accessing its preferences. All you need is click the indicator in top panel then click at Preferences.

Fix Simple Weather Indicator Won't Run

This what I've found when launch this app for first from terminal window :

Traceback (most recent call last):
  File "/usr/bin/indicator-weather", line 23, in <module>
    import gi
ImportError: No module named gi

To fix this issue, simply run the following command :

sudo apt-get install python-gi

Now re-open indicator weather. Additionally, you can install Synapse launcher to quick open an Ubuntu application, file e.g documents, photos, images, music, etc as shown :

Open Simpe Weather Indicator Using Synapse Launcher

To launch the applet you need to either run it manually via the command line

So that all I can write about how to install indicator weather in order to see weather and temperature in Ubuntu panel. Hope you've enjoyed reading Linuxslaves tutorial as much I’ve enjoyed writing it. Thanks for visiting us!