Better Weather -

Better Weather contains a couple of scripts using normal KDE and Linux tools to provide better display of weather info.
Better Weather contains a couple of scripts using normal KDE and Linux tools to provide better display of weather info than KDE's weather applet. It downloads the information from the US national weather service and maps from weather.com. Two launchers on the main menubar bring up the window separately. Full details and instructions are in the readme.

This is a solution that worked for me, not being a coder. You have to make it work for you. It's an idea and a set of tools. It's also US-centric, but someone may take the idea and make it work just as well anywhere. I hope someone finds it as useful as I do.

WHAT IT DOES

The tools I wrote are two *very* simple bash scripts. The script, localwx.sh, invokes the python weather utility, and downloads the current weather conditions and forecast in text format from the weather service. It stores the information temporarily in a text file (I chose the desktop as the directory in which to save it.) It then "reads" the text file into a kdialog box. When the "ok" button is clicked, the temporary file is deleted.

The other script, wxmap.sh, downloads a current local weather map image using wget, saves it temporarily to the desktop, and calls Kview to display it. When Kview closes, the temporary image file is deleted.

HOW I DID IT

The man pages for "weather," "kdialog," and "wget" were useful for determining which options to use. The script for weather forecasts has to be edited to receive the data for the user's current location. My nearest airport is PDK, so my ID was "KPDK." The rest is straightforward enough. To make the weather map script work, you can go to weather.com or your local tv station website and copy the image location for the weather map they use. It can be pasted into the script.

Once the scripts were edited to suit, I made them executable (chmod +x filename), copied them to /usr/local/bin, and created a launcher for each in my main menubar. Describing the process is a lot more difficult than actually doing the work!

What's New in This Release:

· Added desktop files and instructions for KDE4.

last updated on:
July 1st, 2008, 11:06 GMT
price:
FREE!
developed by:
beartard
homepage:
www.kde-apps.org
license type:
GPL (GNU General Public License) 
category:
ROOT \ Desktop Environment \ Tools

FREE!

In a hurry? Add it to your Download Basket!

user rating 19

3.8/5
 

0/5

1 Screenshot
Better Weather

Add your review!

SUBMIT