Page 100 of 380 FirstFirst ... 50909899100101102110150200 ... LastLast
Results 991 to 1,000 of 3796

Thread: Conky Weather Forecast Python Script

  1. #991
    Join Date
    Jun 2007
    Location
    North London; England
    Beans
    697

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by kaivalagi View Post
    Where is the template file:
    Code:
    ERROR: Error loading template file: [Errno 2] No such file or directory: '/home/mark/conkyweather.template'
    Also line 23 of your conkyrc has an issue:

    Code:
    Conky: /home/cary/.conkyrc: 23: config file error
    oh of course, i forgot the computer i was on has a differend user name
    Desktop:i7 875k|4gb OCZ platinum ddr3 2000|Evga P55 LE mobo|OCZ RevoDrive 50gb|ATI 5850 Black Edition|Silverstone FT02|corsair tx650
    Portable: 13" Macbook Pro 2.8ghz i7 16gb RAM | Asus EEE TF101 | Samsung Galaxy S2

  2. #992
    Join Date
    Jun 2007
    Location
    North London; England
    Beans
    697

    Re: Conky Weather Forecast Python Script

    can someone give me a hand with my template file?

    im looking to have it display like this


    Code:
    day0      day1       day2      day3
    icon      icon       icon      icon
    temp      temp       temp      temp
    conditions conditions conditions conditions
    currently the icon for today says N/A aand im not sure how to get the conditions listed ?

    here is my template file, can someone give me a few pointerwS?


    Code:
    ${voffset 30}${goto 30}[--datatype=DW --startday=0 --shortweekday]${goto 100}[--datatype=DW --startday=1 --shortweekday]${goto 180}$
    ${voffset 8}${goto 30}${font ConkyWeather:size=28}[--datatype=WF --startday=0 --endday=3 --spaces=7]${font}
    ${goto 30}[--datatype=HT --startday=1 --hideunits --centeredwidth=0]/[--datatype=LT --startday=0 --hideunits --centeredwidth=3]${go$
    --hideunits --centeredwidth=3]/[--datatype=LT --startday=1 --hideunits --centeredwidth=3]${goto 170}[--datatype=HT --startday=2 --h$
    --centeredwidth=3]/[--datatype=LT --startday=2 --hideunits --centeredwidth=3]${goto 250}[--datatype=HT --startday=3 --hideunits --c$
    --startday=3 --hideunits --centeredwidth=3]
    Desktop:i7 875k|4gb OCZ platinum ddr3 2000|Evga P55 LE mobo|OCZ RevoDrive 50gb|ATI 5850 Black Edition|Silverstone FT02|corsair tx650
    Portable: 13" Macbook Pro 2.8ghz i7 16gb RAM | Asus EEE TF101 | Samsung Galaxy S2

  3. #993
    Join Date
    Jun 2007
    Location
    North London; England
    Beans
    697

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by markp1989 View Post
    can someone give me a hand with my template file?

    im looking to have it display like this


    Code:
    day0      day1       day2      day3
    icon      icon       icon      icon
    temp      temp       temp      temp
    conditions conditions conditions conditions
    currently the icon for today says N/A aand im not sure how to get the conditions listed ?

    here is my template file, can someone give me a few pointerwS?


    Code:
    ${voffset 30}${goto 30}[--datatype=DW --startday=0 --shortweekday]${goto 100}[--datatype=DW --startday=1 --shortweekday]${goto 180}$
    ${voffset 8}${goto 30}${font ConkyWeather:size=28}[--datatype=WF --startday=0 --endday=3 --spaces=7]${font}
    ${goto 30}[--datatype=HT --startday=1 --hideunits --centeredwidth=0]/[--datatype=LT --startday=0 --hideunits --centeredwidth=3]${go$
    --hideunits --centeredwidth=3]/[--datatype=LT --startday=1 --hideunits --centeredwidth=3]${goto 170}[--datatype=HT --startday=2 --h$
    --centeredwidth=3]/[--datatype=LT --startday=2 --hideunits --centeredwidth=3]${goto 250}[--datatype=HT --startday=3 --hideunits --c$
    --startday=3 --hideunits --centeredwidth=3]

    so far i have this
    Code:
    ${voffset 30}${goto 30}[--datatype=DW --startday=0 --shortweekday]${goto 130}[--datatype=DW --startday=1 --shortweekday]${goto 230}[--datatype=DW --startday=2 --shortweekday]${goto 330}[--datatype=DW --startday=3 --shortweekday]
    ${voffset 8}${goto 30}${font ConkyWeather:size=28}[--datatype=WF --startday=0 --endday=3 --spaces=10]${font}
    ${goto 30}[--datatype=HT --startday=1 --hideunits --centeredwidth=0]/[--datatype=LT --startday=0 --hideunits --centeredwidth=3]${goto 130}[--datatype=HT --startday=1 --hideunits --centeredwidth=3]/[--datatype=LT --startday=1 --hideunits --centeredwidth=3]${goto 230}[--datatype=HT --startday=2 --hideunits --centeredwidth=3]/[--datatype=LT --startday=2 --hideunits --centeredwidth=3]${goto 330}[--datatype=HT --startday=3 --hideunits --centeredwidth=3]/[--datatype=LT --startday=3 --hideunits --centeredwidth=3]
    ${goto 30}[--datatype=CT --startday=1 --hideunits --centeredwidth=0]${goto 130}[--datatype=CT --startday=1 --hideunits --centeredwidth=3]${goto 230}[--datatype=CT --startday=2 --hideunits --centeredwidth=3]${goto 330}[--datatype=CT --startday=3 --hideunits --centeredwidth=3]
    but the CT text over laps right now, and th eicon for current today still says N/A
    Last edited by markp1989; January 23rd, 2009 at 12:38 AM.
    Desktop:i7 875k|4gb OCZ platinum ddr3 2000|Evga P55 LE mobo|OCZ RevoDrive 50gb|ATI 5850 Black Edition|Silverstone FT02|corsair tx650
    Portable: 13" Macbook Pro 2.8ghz i7 16gb RAM | Asus EEE TF101 | Samsung Galaxy S2

  4. #994
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by markp1989 View Post
    so far i have this
    Code:
    ${voffset 30}${goto 30}[--datatype=DW --startday=0 --shortweekday]${goto 130}[--datatype=DW --startday=1 --shortweekday]${goto 230}[--datatype=DW --startday=2 --shortweekday]${goto 330}[--datatype=DW --startday=3 --shortweekday]
    ${voffset 8}${goto 30}${font ConkyWeather:size=28}[--datatype=WF --startday=0 --endday=3 --spaces=10]${font}
    ${goto 30}[--datatype=HT --startday=1 --hideunits --centeredwidth=0]/[--datatype=LT --startday=0 --hideunits --centeredwidth=3]${goto 130}[--datatype=HT --startday=1 --hideunits --centeredwidth=3]/[--datatype=LT --startday=1 --hideunits --centeredwidth=3]${goto 230}[--datatype=HT --startday=2 --hideunits --centeredwidth=3]/[--datatype=LT --startday=2 --hideunits --centeredwidth=3]${goto 330}[--datatype=HT --startday=3 --hideunits --centeredwidth=3]/[--datatype=LT --startday=3 --hideunits --centeredwidth=3]
    ${goto 30}[--datatype=CT --startday=1 --hideunits --centeredwidth=0]${goto 130}[--datatype=CT --startday=1 --hideunits --centeredwidth=3]${goto 230}[--datatype=CT --startday=2 --hideunits --centeredwidth=3]${goto 330}[--datatype=CT --startday=3 --hideunits --centeredwidth=3]
    but the CT text over laps right now, and th eicon for current today still says N/A
    Looks okay, if the text overlaps there isn't much you can do other than increasing the goto amounts to space things out further or reducing the font size to cope.

    The N/A icon will not show for current day is you don't use startday=0, but that means you cannot have a range of days in one exec, you'd have to have indivdual days just like you have for CT...

    In fact anywhere you have the startday=0 this can be omitted to get the current weather data rather than the forecast data for today if that makes sense....the forecast data for today through using startday=0 really is out of date as the actual current weather data got by having no startday at all is more suitable.

    Something like below maybe..I have highlighted the changes in red. I have also removed quite a bit of unneccessary settings in my opinion. I haven't tested it but you should get the idea, might work as is, you never know

    Code:
    ${voffset 30}${goto 30}[--datatype=DW --startday=0 --shortweekday]${goto 130}[--datatype=DW --startday=1 --shortweekday]${goto 230}[--datatype=DW --startday=2 --shortweekday]${goto 330}[--datatype=DW --startday=3 --shortweekday]
    ${voffset 8}${font ConkyWeather:size=28}${goto 30}[--datatype=WF]${goto 130}[--datatype=WF --startday=1]${goto 230}[--datatype=WF --startday=2]${goto 330}[--datatype=WF --startday=3]${font}
    ${goto 30}[--datatype=HT --startday=0 --hideunits --centeredwidth=3]/[--datatype=LT --startday=0 --hideunits --centeredwidth=3]${goto 130}[--datatype=HT --startday=1 --hideunits --centeredwidth=3]/[--datatype=LT --startday=1 --hideunits --centeredwidth=3]${goto 230}[--datatype=HT --startday=2 --hideunits --centeredwidth=3]/[--datatype=LT --startday=2 --hideunits --centeredwidth=3]${goto 330}[--datatype=HT --startday=3 --hideunits --centeredwidth=3]/[--datatype=LT --startday=3 --hideunits --centeredwidth=3]
    ${goto 30}[--datatype=CT]${goto 130}[--datatype=CT --startday=1]${goto 230}[--datatype=CT --startday=2]${goto 330}[--datatype=CT --startday=3]

  5. #995
    Join Date
    Jun 2007
    Location
    North London; England
    Beans
    697

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by kaivalagi View Post
    Looks okay, if the text overlaps there isn't much you can do other than increasing the goto amounts to space things out further or reducing the font size to cope.

    The N/A icon will not show for current day is you don't use startday=0, but that means you cannot have a range of days in one exec, you'd have to have indivdual days just like you have for CT...

    In fact anywhere you have the startday=0 this can be omitted to get the current weather data rather than the forecast data for today if that makes sense....the forecast data for today through using startday=0 really is out of date as the actual current weather data got by having no startday at all is more suitable.

    Something like below maybe..I have highlighted the changes in red. I have also removed quite a bit of unneccessary settings in my opinion. I haven't tested it but you should get the idea, might work as is, you never know

    Code:
    ${voffset 30}${goto 30}[--datatype=DW --startday=0 --shortweekday]${goto 130}[--datatype=DW --startday=1 --shortweekday]${goto 230}[--datatype=DW --startday=2 --shortweekday]${goto 330}[--datatype=DW --startday=3 --shortweekday]
    ${voffset 8}${font ConkyWeather:size=28}${goto 30}[--datatype=WF]${goto 130}[--datatype=WF --startday=1]${goto 230}[--datatype=WF --startday=2]${goto 330}[--datatype=WF --startday=3]${font}
    ${goto 30}[--datatype=HT --startday=0 --hideunits --centeredwidth=3]/[--datatype=LT --startday=0 --hideunits --centeredwidth=3]${goto 130}[--datatype=HT --startday=1 --hideunits --centeredwidth=3]/[--datatype=LT --startday=1 --hideunits --centeredwidth=3]${goto 230}[--datatype=HT --startday=2 --hideunits --centeredwidth=3]/[--datatype=LT --startday=2 --hideunits --centeredwidth=3]${goto 330}[--datatype=HT --startday=3 --hideunits --centeredwidth=3]/[--datatype=LT --startday=3 --hideunits --centeredwidth=3]
    ${goto 30}[--datatype=CT]${goto 130}[--datatype=CT --startday=1]${goto 230}[--datatype=CT --startday=2]${goto 330}[--datatype=CT --startday=3]
    ah, thanks that works well, had to make a couple of change to get the info, now i just need to work on the spacing, which i wil be doing in the morning.
    Desktop:i7 875k|4gb OCZ platinum ddr3 2000|Evga P55 LE mobo|OCZ RevoDrive 50gb|ATI 5850 Black Edition|Silverstone FT02|corsair tx650
    Portable: 13" Macbook Pro 2.8ghz i7 16gb RAM | Asus EEE TF101 | Samsung Galaxy S2

  6. #996
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by markp1989 View Post
    im looking to have it display like this
    Code:
    day0      day1       day2      day3
    icon      icon       icon      icon
    temp      temp       temp      temp
    conditions conditions conditions conditions
    Quote Originally Posted by markp1989 View Post
    ah, thanks that works well, had to make a couple of change to get the info, now i just need to work on the spacing, which i wil be doing in the morning.
    If you want that type of display you are going to have BIG problems with spacing.

    1st: because spacing is critical to your setup use a mono font.
    2nd: you will have to consider the use of "conditions" ie: "Sunny" is less space than: "Sever Thunderstorms". Works well in a vertical forecast but not to well in a horizontal one.

    So if you drop the conditions line you can create the spacing with much more ease, since the "icons" will give you the "conditions" anyway.

    See my example attached
    On the left I have a large space for conditions text for today (Algo nublado - Some clouds)
    On the right a 4 day forecast without the conditions text, the icons say enough about that.

    Have a nice day.
    Bruce
    Attached Images Attached Images
    Last edited by Bruce M.; January 23rd, 2009 at 04:50 PM.

  7. #997
    Join Date
    Jun 2007
    Location
    North London; England
    Beans
    697

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by Bruce M. View Post
    If you want that type of display you are going to have BIG problems with spacing.

    1st: because spacing is critical to your setup use a mono font.
    2nd: you will have to consider the use of "conditions" ie: "Sunny" is less space than: "Sever Thunderstorms". Works well in a vertical forecast but not to well in a horizontal one.

    So if you drop the conditions line you can create the spacing with much more ease, since the "icons" will give you the "conditions" anyway.

    See my example attached
    On the left I have a large space for conditions text for today (Algo nublado - Some clouds)
    On the right a 4 day forecast without the conditions text, the icons say enough about that.

    Have a nice day.
    Bruce
    your right, i may have to make it verticle rather then horizonta.

    see scot to see how it look sright now.
    Attached Images Attached Images
    Desktop:i7 875k|4gb OCZ platinum ddr3 2000|Evga P55 LE mobo|OCZ RevoDrive 50gb|ATI 5850 Black Edition|Silverstone FT02|corsair tx650
    Portable: 13" Macbook Pro 2.8ghz i7 16gb RAM | Asus EEE TF101 | Samsung Galaxy S2

  8. #998
    Join Date
    Jun 2007
    Location
    North London; England
    Beans
    697

    Re: Conky Weather Forecast Python Script

    Code:
    [--datatype=DW --startday=0 --shortweekday]
    ${voffset 8}${font ConkyWeather:size=28}${goto 30}[--datatype=WF]${font}
    [--datatype=HT --hideunits --centeredwidth=3]/[--datatype=LT --startday=0 --hideunits --centeredwidth=3]
    [--datatype=CT]
    
    [--datatype=DW --startday=1 --shortweekday]
    ${voffset 8}${font ConkyWeather:size=28}[--datatype=WF --startday=1]${font}
    [--datatype=HT --startday=1 --hideunits --centeredwidth=3]/[--datatype=LT --startday=1 --hideunits --centeredwidth=3]
    [--datatype=CT --startday=1]
    
    [--datatype=DW --startday=2 --shortweekday]
    ${voffset 8}${font ConkyWeather:size=28}[--datatype=WF --startday=2]${font}
    [--datatype=HT --startday=2 --hideunits --centeredwidth=3]/[--datatype=LT --startday=2 --hideunits --centeredwidth=3]
    [--datatype=CT --startday=2]
    see attached scrot, how come my icons dont line up?

    edit: nm, saw a un expected goto line. fixed it now.
    Attached Images Attached Images
    Last edited by markp1989; January 23rd, 2009 at 06:48 PM.
    Desktop:i7 875k|4gb OCZ platinum ddr3 2000|Evga P55 LE mobo|OCZ RevoDrive 50gb|ATI 5850 Black Edition|Silverstone FT02|corsair tx650
    Portable: 13" Macbook Pro 2.8ghz i7 16gb RAM | Asus EEE TF101 | Samsung Galaxy S2

  9. #999
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by markp1989 View Post
    see attached scrot, how come my icons dont line up?
    In your first call for font ConkyWeather:
    Code:
    [--datatype=DW --startday=0 --shortweekday]
    ${voffset 8}${font ConkyWeather:size=28}${goto 30}[--datatype=WF]${font}
    [--datatype=HT --hideunits --centeredwidth=3]/[--datatype=LT --startday=0 --hideunits --centeredwidth=3]
    [--datatype=CT]
    you have a ${goto 30} command, but not in any others.
    Take it out and you're on the money.

    Have a nice day.
    Bruce

  10. #1000
    Join Date
    Feb 2008
    Location
    N of Bruce W of Kaivalagi
    Beans
    185
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by markp1989 View Post
    ah, thanks that works well, had to make a couple of change to get the info, now i just need to work on the spacing, which i wil be doing in the morning.
    Or you could use K's new creation gtk-desktop-info (see link in his sig)
    it uses html to display output from plugins such as forecast, deluge, pidgin, exhaile, rhythmbox, tomboy, calendar
    with html you have much greater control over display by using tables or floated divs.

    Hippy
    hippyrandall.com | This is the first age that's paid much attention to the future, which is alittle ironic since we may not have one. -- Arthur Clarke

Page 100 of 380 FirstFirst ... 50909899100101102110150200 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •