Tag Archives: weather

Simple Weather Indicator Hits 1.0, Adds “Feels Like”, More Stats

Simple Weather Indicator for Ubuntu’s Unity desktop has reached version 1.0. It adds more meteorological metadata including ‘feels like’ temperature.

This post, Simple Weather Indicator Hits 1.0, Adds “Feels Like”, More Stats, was written by Joey Sneddon and first appeared on OMG! Ubuntu!.

Read More

Meteo Qt Is A Nice Qt5 Weather Tray Application

Meteo Qt is a tray application that displays the current weather temperature on the panel, with a 6-day forecast easily accessible from its menu. 

MeteoQt Kubuntu
Meteo Qt in Kubuntu 17.04

The application is based on Python 3 and Qt 5, and while it is aimed at Qt-based desktops (like KDE Plasma or LXQt), it works pretty well on GTK-based desktops as well (either as a tray or as an AppIndicator).

Meteo Qt features:

  • uses weather data from OpenWeatherMap;
  • the weather status window displays detailed day forecast (with wind speed and cloud % in tooltips) as well as a 6-day weather forecast (which includes precipitation, wind, pressure, humidity and cloudiness in the tooltips);
  • supports adding multiple cities (including temporary cities);
  • configurable temperature unit (Celsius, Fahrenheit or Kelvin) and update interval;
  • configurable tray / AppIndicator:
    • font size;
    • font color (using a color picker);
    • display the temperature, icon or both in the same time;
  • optional notifications on weather update;
  • proxy support;
  • option to start automatically at system startup.

To use Meteo Qt, you’ll need to sign up to OpenWeatherMap to get a personal API key (free). After logging in to your OpenWeatherMap account, head to home.openweathermap.org, click on “API Keys”, copy the key:

openweathermap api

… and paste it in the Meteo Qt settings.

Important: the activation of an API key for free OpenWeatherMap accounts takes 10 minutes!

Meteo Qt Unity
Meteo Qt Unity

To use Meteo Qt with an AppIndicator, set the “System tray icon” option to “Temperature” only, or else the font and icon will be too small or they will overlap. Also, set the font size to 26, and if you use it in Unity with Ambiance theme, set the font color to “#dfdbd2”. Here are the settings I’m using under Unity:

Install Meteo Qt in Ubuntu (and flavors) 16.04 or 16.10

Meteo Qt is available in the GetDeb repositories. For those not familiar with GetDeb, this is a project that provides Ubuntu packages for applications that aren’t available in the official Ubuntu repositories as well as newer versions for packages from the official Ubuntu repositories, kind of like the WebUpd8 PPAs.
To install Meteo Qt in Ubuntu 16.04 or 16.10 (and derivatives like Kubuntu, etc.), follow the instructions below:
1. To add the GetDeb repository, install THIS deb or follow the instructions on the GetDeb website.
2. After adding the repository, update the software sources and install Meteo Qt using the following commands:
sudo apt update
sudo apt install meteo

If you don’t want to add the PPA, download the Meteo Qt deb from HERE (note that you won’t receive any updates unless you add the repository). The deb should also work in Ubuntu (or Kubuntu, etc.) 17.04.

For how to install Meteo Qt in other Linux distributions, report bugs and so on, see its GitHub page.

Read More

WeatherDesk Changes Your Wallpaper Based On Current Weather Conditions

WeatherDesk is a Python3 tool that allows using a wallpaper that changes based on the weather and optionally, time of day. It supports most Linux desktop environments as well as Windows and Mac.

WeatherDesk weather-based wallpaper Linux

WeatherDesk features:

  • change the background based on the current weather conditions;
  • optionally change the background based on the time of day. This supports 4 variations: day/night, day/evening/night and morning/day/evening/night;
  • supports most Linux desktop environments, including Cinnamon, GNOME, Unity, Xfce, LXDE, LXQt, Pantheon, MATE, and more;
  • automatically detects your current city using ipinfo.io. In case this fails or you simply want to use a different city, you can manually specify the city as a command line argument
  • you can specify the image format, update interval, and more.

KDE Plasma 5 is not listed as supported on the WeatherDesk GitHub page, but looking at the code it appears that it might work. If you test WeatherDesk with Plasma 5, let us know if it works in the comments!
The tool requires a set of images named according to some naming rules, so don’t expect it to alter your current desktop background or anything like that.

WeatherDesk weather-based wallpaper Linux

While WeatherDesk doesn’t come with a built-in wallpaper set, its GitHub page points to a premade set, called FireWatch, available HERE (here’s how it looks), which I’ll use in the instructions below.

The FireWatch wallpaper set doesn’t seem to differentiate between cloudy, normal and windy weather, but you can further tweak it yourself if you want it to be more accurate and your GIMP / Photoshop skills allow it. The set does include proper images for rain, snow, and thunder.

Installing and using WeatherDesk

1. Download / install WeatherDesk

WeatherDesk is available as two simple Python3 scripts that can run from the directory you download them to. You can grab the code from GitHub or simply click here to download the latest code from Git as .tar.gz.

To simplify things, you can use the commands below to download the latest WeatherDesk code from Git, install WeatherDesk in /opt/ and create a symbolic link to its executable in /usr/local/bin/:
sudo apt install wget #in case it's not already installed
wget https://github.com/bharadwaj-raju/WeatherDesk/archive/master.tar.gz -O /tmp/weatherdesk.tar.gz
tar -xvf /tmp/weatherdesk.tar.gz -C /tmp/
sudo mkdir /opt/weatherdesk
sudo cp /tmp/WeatherDesk-master/*.py /opt/weatherdesk/
sudo chmod +x /opt/weatherdesk/WeatherDesk.py
sudo ln -s /opt/weatherdesk/WeatherDesk.py /usr/local/bin/weatherdesk

After this, you can simply use “weatherdesk” in a terminal to run the tool.

2. Download the FireWatch WeatherDesk wallpaper pack

But wait, we’re not done yet! That’s because you’ll also need some wallpapers to change based on current weather conditions and the time of day.

The wallpapers must be named according to some naming rules and placed in the ~/.weatherdesk_walls/ folder for WeatherDesk to pick them up. To make this easy, the WeatherDesk GitHub page points to a pack called FireWatch, which already contains images named according to the WeatherDesk rules.

To create the ~/.weatherdesk_walls folder, download the FireWatch WeatherDesk wallpaper set and extract it into the ~/.weatherdesk_walls folder, you can use the following commands:

mkdir ~/.weatherdesk_walls
wget https://github.com/bharadwaj-raju/FireWatch-WeatherDesk-Pack/archive/master.tar.gz -O /tmp/firewatchpack.tar.gz
tar -xvf /tmp/firewatchpack.tar.gz -C ~/.weatherdesk_walls/ --strip-components=1

3. Run WeatherDesk

That’s it. Now you can simply run “weatherdesk” in a terminal and the app should automatically change your wallpaper based on the current weather conditions and time of day, using the FireWatch wallpaper pack:


If you want to use different wallpapers, you must rename them according to the WeatherDesk naming rules and place them in the ~/.weatherdesk_walls/ folder.

To see all the available WeatherDesk options, run the following command:
weatherdesk --help

For example, to force WeatherDesk to use the weather information for London instead of the automatically detected city, use:
weatherdesk -c london

To get WeatherDesk to also change the wallpaper based on the current time of day, and not just based on the current weather, run it with the “-t” option, like this:
weatherdesk -t

By default this will use the “day / evening / night” variation. To use the “morning / day / evening / night” variation (for more info about this, run “weatherdesk –info“), run it like this:

weatherdesk -t 4

If you want WeatherDesk to change the wallpaper based on current weather conditions every time you login, make sure to add it to your startup applications (in Ubuntu with Unity, launch Startup Applications, click “Add” and use “weatherdesk” as the command).

To report bugs, grab the source code, etc., see the WeatherDesk GitHub page.
Tip: to display the current weather temperature on top of the wallpaper, you could use WeatherDesk in conjunction with Deskweather (I din’t try this, but it could be interesting).

Read More

Indicator Weather Gives You ‘At-a-Glance’ Temp on Ubuntu Phone

the indicator in actionThis is going to be a super brief post — briefer than a British summer, in fact. Most us are familiar with weather indicators for the Linux desktop. Heck, i’d be surprised if you weren’t considering the amount of pixel inches we devote to them on this site! But Indicator Weather isn’t a weather indicator […]

This post, Indicator Weather Gives You ‘At-a-Glance’ Temp on Ubuntu Phone, was written by Joey-Elijah Sneddon and first appeared on OMG! Ubuntu!.

Read More

Temps is a Beautiful Open Source Weather App

tempChecking on the weather isn’t hard: you just stick your head out of the window. But when the weather is unpredictable, or to keep an eye on its plans for the coming days, we turn to weather forecast apps, websites and services. A slate of desktop weather apps are available for Linux. These range from basic terminal-based reports to indicator […]

This post, Temps is a Beautiful Open Source Weather App, was written by Joey-Elijah Sneddon and first appeared on OMG! Ubuntu!.

Read More