<!-- 
.. title: Weather
.. slug: weather
.. date: 2014-02-02 15:30:42 UTC+01:00 
.. tags: archlinux, desktop, linux, web, 
.. link: 
.. description: 
.. type: text 
--> 

I like to have a weather forecast right on my desktop instead of having to to look it up on one of these overcrowded and ad-riddled weather pages or (heaven forbid!) having to switch on the TV. When I [switched to conky,](blind-and-deaf.html "switched to conky,") I thus integrated a forecast into the main conky display using conkyForecast.

A few weeks ago conky stopped forecasting, and I soon discovered that the conkyForecast script had been [abandoned long ago.](http://ubuntuforums.org/showthread.php?t=869328 "abandoned long ago.")

Detailed information of the current weather can be obtained easily with a few lines in your .conkyrc: just query <http://weather.noaa.gov/pub/data/observations/metar/stations/EDDT> for one of the keywords 'last\_update', 'temperature', 'humidity', 'pressure', 'wind\_speed', 'wind\_dir', 'cloud\_cover'.

For example:

	Temperature: ${alignr}${weather <http://weather.noaa.gov/pub/data/observations/metar/stations/EDDT> temperature}°C

A working .conkyrc implementing this query can be found in the [Archlinux forum.](https://bbs.archlinux.org/viewtopic.php?pid=1335237#p1335237 "Archlinux forum.")

However, I get a pretty accurate idea of the current weather conditions by opening the window. What I really want is a forecast for the next days. I finally settled for an implementation querying Yahoo. I've slightly modified the [original version](http://satya164.deviantart.com/art/Conky-Google-Now-366545753 "original version") and use it as a stand-alone conky-weather widget:

[![Desktop](../images/desktop_250114_scaled.jpeg)](../images/desktop_250114.jpeg)

Also note the panel with all those application icons waiting to be clickedy-clicked on the left. [¡Viva la Revolución!](too-old-to-change.html "¡Viva la Revolución!")

