Auteur Sujet: OpenBox scripts  (Lu 20729 fois)

0 Membres et 1 Invité sur ce sujet

Hors ligne patrick013

  • Membre Senior
  • ****
  • Messages: 252
Re : Re : OpenBox scripts
« Réponse #15 le: 04 mars 2013 à 06:08:46 »
melodie,

The weather python script is, as Patrick says, a script called from an Openbox pipe menu to display the weather. The one I used on DebWeb is actually gweather3.py. Here's the screenshot again, from the first post of the DebWeb thread.



yweather.py looks identical

If I remember right I had trouble getting the weather info on your script.
Perhaps they changed it.  " yweather.py zipcode Fahrenheit" is all it needs
when setup in obmenu.    I think the old script became obsolete.

Well we have a weather script nonetheless.

thanks for the response.

patrick

Hors ligne melodie

  • Administrateur
  • Membre Héroïque
  • *****
  • Messages: 1777
    • Citrotux
Re : OpenBox scripts
« Réponse #16 le: 04 mars 2013 à 11:27:04 »
I was just wondering if the 2 scripts were supposed to work together, (so the answer is no) and what is the problem about ?

djohnston, your menu.xml is huuge! :D

Good leaders being scarce, following yourself is allowed.

djohnston

  • Invité
Re : Re : OpenBox scripts
« Réponse #17 le: 05 mars 2013 à 01:24:03 »
yweather.py looks identical

If I remember right I had trouble getting the weather info on your script.
Perhaps they changed it.  " yweather.py zipcode Fahrenheit" is all it needs
when setup in obmenu.    I think the old script became obsolete.

patrick

Does that one accept a code other than zip code for the location? I chose the one I'm using because you can get the code for anywhere in the world by looking it up on weather.com.

djohnston, your menu.xml is huuge! :D

I worked on it ... a LOT! It's been a work in progress for some time. I originally started with the one Taco.22 used in Scorpio_RC4. The first thing I had to do was clean up the indentations so it was easily readable for me. Then I gradually added the extra stuff I wanted in there. The only other config I worked on almost as much was the .conkyrc.

I have since added the conky-full package that has more options.

Hors ligne patrick013

  • Membre Senior
  • ****
  • Messages: 252
Re : Re : Re : OpenBox scripts
« Réponse #18 le: 05 mars 2013 à 21:59:19 »
Does that one accept a code other than zip code for the location? I chose the one I'm using because you can get the code for anywhere in the world by looking it up on weather.com.

Just the zip code, which is only USA zip codes.    Like I said the gweather script
I had was an older one and actually lost it's weather source.    Your's is a much
newer version rewritten to use the new source, so is working fine then.