System tray application for weather status information
Python Prolog
Clone or download
Latest commit 3d2a437 May 18, 2018



meteo-qt is an application to display weather information in desktop panels, desktop notifications and its own window.

Weather data is taken from OpenWeatherMap. The application is based on Python 3 and Qt 5. It is licensed under the GNU General Public License version 3 (GPLv3).

Getting started

After satisfying some runtime dependencies meteo-qt can be run right from the source tree. Installing is possible as well and relying on on a file as commonly used in Python. This enables every regular user to run the application and updates the translations comprised in the code. Also, some binary packages are available.
The following sections will describe all three approaches stating some major Linux distributions as example.

Runtime dependencies

These are PyQt, SIP and lxml which can be installed as follows:

Arch Linux

# pacman -S python-pyqt5 python-sip python-lxml

Debian, Derivatives

# apt-get install python3-pyqt5 python3-sip python3-lxml


# dnf install python3-qt5 python3-sip python3-lxml

openSUSE Leap

# zypper install python3-qt5 python3-sip python3-lxml

(SIP packages stated for the sake of completeness only. In fact they all are a dependency of the respective PyQt packages.)

Running from the sources

Once the runtime dependencies stated above are met the application can be run from its sources by invoking

$ python3 /path/to/meteo-qt/meteo_qt/

Installation from the sources

additional dependencies

In addition to the runtime dependencies stated above binariespylupdate5 of PyQt and lrelease of Qt Linguist are needed.

Binary lrelease still comes as Qt 5 and 4 version in all major distributions so it must be ensured the former is used.
This document describes how to achieve this by tweaking the system-wide settings of qtchooser which is available on Arch Linux, Debian and Fedora while a manual approach has to be taken on openSUSE. The corresponding changes may or may not be reverted after installing meteo-qt depending on the needs of the respective system.
To test whether lrelease is configured properly run $ lrelease -version which should output the desired Qt version like 5.5.1.

Arch Linux
Install package

# pacman -S qt5-tools

This will pull in package qtchooser which has the usual link /etc/xdg/qtchooser/default.conf point to /etc/xdg/qtchooser/5.conf making Qt 5 the default.

Debian, Derivatives
Install packages

# apt-get install pyqt5-dev-tools qttools5-dev-tools

To make Qt 5 the default version either install package qt5-default in addition or create a symbolic link

# ln -s /usr/share/qtchooser/qt5-x86_64-linux-gnu.conf /usr/lib/x86_64-linux-gnu/qtchooser/default.conf

where the architecture, here x86_64-linux-gnu, may have to get adjusted to the current system.

Install packages

# dnf install python3-qt5-devel qt5-linguist qtchooser

To make Qt 5 default run

# update-alternatives --config qtchooser-default

follow the instructions and log out and in again.
(Fedora is handling qtchooser by the Debian Alternatives System, see $ ls -l /etc/alternatives/qtchooser-* /etc/xdg/qtchooser/. The binaries handled by qtchooser are placed at a location that's usually outside $PATH and added to the latter by files in /etc/profiles.d/, hence the need to log out and in again.)

openSUSE Leap
Install packages

# zypper install python3-qt5-devel libqt5-linguist

Make sure package libqt4-linguist which is the only package providing binary lrelease in $PATH isn't installed or move /usr/bin/lrlease to another location and run

# ln -s /usr/bin/lrelease-qt5 /usr/bin/lrelease


To install run

# python3 install

in the source tree. Adding switch --help displays additional options.

After installing that way a binary meteo-qt will be placed in $PATH, a desktop entry file meteo-qt.desktop in $XDG_DATA_DIRS/applications making the application available in the usual panel main menus.

Binary packages

Arch Linux

AUR package meteo-qt is providing the latest stable release, package meteo-qt-git the latest checkout of branch master.


Package meteo-qt is providing stable releases.


GetDeb is providing a package meteo-qt for stable releases.


As of June 2016 users need to use a personal key to access OpenWeatherMap data. OpenWeatherMap is restricting access to the data by keys in order to avoid abuse, unfortunately the single key that was issued for meteo-qt as a whole had to be revoked as it was apparently hijacked.

To register a personal key visit, once acquired the key has to be filed in the settings of meteo-qt.


Not much to say. The window providing verbose information as depicted above will display upon left clicking the panel icon, a context menu coming up on right-click is providing several configuration options all of which should be pretty self-explanatory.