Sunday, June 03, 2012

New Conky Weather Program

Here is a new weather program written in Bash

NOTE:
For latest version of Conky Weather Program conkywx please look here

Screenshots
Conky weather image screenshot

Check for the new updates in the blog archives

Support for :
  • Multiple locations
    • Multiple locations can be searched for using separate config files per location
  • Templates
    • Use templates to have very low CPU loads
  • Direct elements
    • Each element can be directly called. In fact if you add a config to each element - you can have multiple locations on the same conkyrc.
  • Choose the kind of units you want - Imperial or Metric
  • Choose the time format 12 hour AM/PM or 24 hour clock
  • Choose Font based or Image based conkyrc
  • Choose popup notifications each time conky updates
  • and more - see wx-readme.txt file
Why Weather Underground
  • Well IMO it has the best weather information on the web.
This program does not need the use of any Keys from the website only the URL or the location code for a supported location on the planet.

Weather has become a very important factor in our lives lately and hence this program.

15 comments:

  1. Hi,

    Great job on your script. Im trying to run it on Ubuntu 12.04 but have not succeeded. The script runs but It will not show as expecte. All the words and symbols get clogged. Im not sure what to do. Any ideas?

    Thanks!

    Tony

    ReplyDelete
  2. Thanks for the feedback
    How are you running the script and which template.
    can u give a link to an image of what you have on the desktop?

    ReplyDelete
  3. Im trying the following:

    sudo ./conky-restart
    with the following line of the script uncommented:
    conky -c $WX_DIR/examples/wx-wu-font-conkyrc &

    and I get this....

    https://www.dropbox.com/sh/2uz54nn7n159pov/SAJsPw8HSP

    ReplyDelete
  4. You do no need to run it as sudo if you have extracted the program into your home folder.

    In the file conky-restart you need to give the path to the program where you have extracted it. See the line WX_DIR=$HOME/bin/conky/conkywx - change the part after $HOME. $HOME is short for /home/yourusername and rest is where you have extracted the program.

    ReplyDelete
  5. I created ~/bin/conky/conkywx directory and placed it there.

    I also run without sudo and it does the same thing. I tried changing the path to the absolute location but still no luck.

    ReplyDelete
  6. Please go to the /tmp directory and delete the temporary directory wx-tony-conkywx.conf-pChA_r_27u0-m39

    If your internet connection is down the program attempts and fails to download data and it waits for another set period.

    if the directory does not exist - a new directory will get created and fresh data will be downloaded.

    ReplyDelete
  7. I deleted the folder but still the same thing.

    ReplyDelete
  8. I uploaded a log file.

    https://www.dropbox.com/sh/2uz54nn7n159pov/SAJsPw8HSP

    ReplyDelete
  9. the data is all there - what version of conky are you using

    try conky -v

    ReplyDelete
  10. Have you tried deleting the conkywx folder and re-extracting the file

    here is what I get with the same file downloaded and extracted into same location

    http://en.zimagez.com/zimage/conky-screenshot.php

    ReplyDelete
  11. yes i still get the same.

    Im using: Conky 1.8.1

    ReplyDelete
  12. OK I was able to replicate your problem

    http://en.zimagez.com/zimage/conky-crappy.php

    It appears that 1.8.1 is the current vesrion for 12.04 - 1.8.1 has bugs rodents etc ;) I have tested with 1.7.2 and it works fine. I am on Arch Linux.

    The current version is in the Backports but i have found the link
    https://launchpad.net/ubuntu/precise/i386/conky-std/1.9.0-2~ubuntu12.04.1

    This will solve the problem please confirm - thanks

    ReplyDelete
  13. https://launchpad.net/ubuntu/precise/+package/conky-std

    that is the page incase u r using 64 bit ubuntu

    ReplyDelete
  14. Perfect!!

    It works!

    I got the 64 bit version here:

    https://launchpad.net/ubuntu/precise/amd64/conky-std/1.9.0-2~ubuntu12.04.1

    Great job!

    Thanks!

    ReplyDelete