Page 11 of 122 FirstFirst ... 9101112132161111 ... LastLast
Results 101 to 110 of 1219

Thread: Conky weather scripts using Accuweather/WUnderground/NWS/Weather.com

  1. #101
    Join Date
    Feb 2008
    Beans
    5,636

    Re: HOW TO: Conky weather info using Accuweather RSS/WUnderground ICAL/NWS XML(USA us

    Reboot please...

  2. #102
    Join Date
    Feb 2008
    Beans
    5,636

    Re: HOW TO: Conky weather info using Accuweather RSS/WUnderground ICAL/NWS XML(USA us

    Doox's PM
    Its same after reboot, im sure im making mistake in something very simple but dont know where... Im writing here because i dont want to troll topic anymore, its my fault somewhere, not a script fault...
    You're not trolling... It's my thread - I decide who's trolling and who's not.
    We'll get it done together.
    Put the font in the .fonts folder in your /home partition and then reboot again.

  3. #103
    Join Date
    Sep 2010
    Beans
    32

    Re: HOW TO: Conky weather info using Accuweather RSS/WUnderground ICAL/NWS XML(USA us

    Thanks so much for this script, it's exactly what I was after.

    Is there a way to add 2 more days to the forecast?

  4. #104
    Join Date
    Feb 2008
    Beans
    5,636

    Re: HOW TO: Conky weather info using Accuweather RSS/WUnderground ICAL/NWS XML(USA us

    Quote Originally Posted by begtognen View Post
    Thanks so much for this script, it's exactly what I was after.

    Is there a way to add 2 more days to the forecast?
    Unfortunately no...
    Accuweather rss provides forecast for only 2 days.

  5. #105
    Join Date
    Dec 2009
    Location
    Mommy & Daddy's house
    Beans
    55
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOW TO: Conky weather info using Accuweather RSS/WUnderground ICAL/NWS XML(USA us

    Is there something that can be done about the word wrap problem, where the wrapped text is covered by the icons?

    Here's my .conkyrc
    Code:
    background yes
    use_xft yes
    xftfont HandelGotD:size=9
    xftalpha 0.5
    update_interval 1.0
    total_run_times 0
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 250 5
    maximum_width 250
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders no
    default_color white
    default_shade_color red
    default_outline_color green
    alignment top_right
    gap_x 12
    gap_y 48
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    override_utf8_locale no
    
    TEXT
    ${color orange}SYSTEM ${hr 2} $color
    $sysname $kernel $alignr $machine
    Uptime $alignr $uptime
    Load $alignr $loadavg
    $processes processes ($running_processes running)
    
    NAME${alignr}PID         CPU%        MEM%
    ${top name 1}${alignr}${top pid 1}       ${top cpu 1}          ${top mem 1}   
    ${top name 2}${alignr}${top pid 2}       ${top cpu 2}          ${top mem 2}   
    ${top name 3}${alignr}${top pid 3}       ${top cpu 3}          ${top mem 3}   
    ${top name 4}${alignr}${top pid 4}       ${top cpu 4}          ${top mem 4}
    
    ${color orange}Ethernet (${addr eth0}) ${hr 2} $color
    Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
    ${downspeedgraph eth0 20,120 e5e5e5 F1AA0E} ${alignr}${upspeedgraph eth0
    20,120 e5e5e5 F1AA0E}$color
    Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
    Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768
    61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
    
    ${color orange}CPU ${hr 2} $color
    ${freq}MHz${alignr}Load: ${loadavg}
    ${alignr}${loadgraph 20,250 e5e5e5 F1AA0E}
    CPU Total:${color} ${cpu cpu0}% ${color}${alignr}Temp:${color} ${execi 2 cat /sys/bus/pci/drivers/k8temp/000*/temp1_input | cut -c1,2 | awk '{print ($1*9)/5+32}'}${iconv_start UTF-8 ISO_8859-1}°F ${iconv_stop}
    ${alignr}${cpugraph 0 20,250 e5e5e5 F1AA0E}
    
    ${color orange}Memory ${hr 2} $color
    RAM $mem / $memmax ${alignr}${membar 8,60}
    Swap $swap / $swapmax ${alignr}${swapbar 8,60}
    
    ${color orange}HDD ${hr 2} $color
    / $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
    ${fs_bar /}
    
    /home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
    ${fs_bar /home}
    
    ${color orange}Experimental! ${hr 2} $color
    ${color Cyan}WEATHER ${hr 2}$color${execi 600 sh /home/mike/conky_weather/weather_script.sh}
    ${font conkyweather:size=35}${execi 600  sed -n '4p' /home/mike/conky_weather/weather1}${font} ${alignr}${voffset -20}${execi 600 sed -n '1p' /home/mike/conky_weather/weather1}
    
    ${execi 600 date --date="-1 days ago" '+%m/%d/%Y'} Forecast
    ${font conkyweather:size=35}${execi 600  sed -n '5p' /home/mike/conky_weather/weather1}${font} ${alignr}${voffset -20}${execi 600 sed -n '2p' /home/mike/conky_weather/weather1| fold -w30}
    
    ${execi 600 date --date="-2 days ago" '+%m/%d/%Y'} Forecast
    ${font conkyweather:size=35}${execi 600  sed -n '6p' /home/mike/conky_weather/weather1}${font} ${alignr}${voffset -20}${execi 600 sed -n '3p' /home/mike/conky_weather/weather1| fold -w30}
    I've also attached a screenshot. Thanks for your time.
    Attached Images Attached Images

  6. #106
    Join Date
    Dec 2009
    Location
    Mommy & Daddy's house
    Beans
    55
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOW TO: Conky weather info using Accuweather RSS/WUnderground ICAL/NWS XML(USA us

    Okay I got it to look a little bit better by removing the vofset.

    Code:
    ${execi 600 sh /home/mike/conky_weather/weather_script.sh}
    ${font conkyweather:size=35}${execi 600  sed -n '4p' /home/mike/conky_weather/weather1}${font} ${alignr}${voffset -20}${execi 600 sed -n '1p' /home/mike/conky_weather/weather1| fold -w30}
    
    ${execi 600 date --date="-1 days ago" '+%m/%d/%Y'} Forecast
    ${font conkyweather:size=35}${execi 600  sed -n '5p' /home/mike/conky_weather/weather1}${font} ${alignr}${execi 600 sed -n '2p' /home/mike/conky_weather/weather1| fold -w30}
    
    ${execi 600 date --date="-2 days ago" '+%m/%d/%Y'} Forecast
    ${font conkyweather:size=35}${execi 600  sed -n '6p' /home/mike/conky_weather/weather1}${font} ${alignr}${execi 600 sed -n '3p' /home/mike/conky_weather/weather1| fold -w30}
    Attached Images Attached Images

  7. #107
    Join Date
    Feb 2008
    Beans
    5,636

    Re: HOW TO: Conky weather info using Accuweather RSS/WUnderground ICAL/NWS XML(USA us

    Change all instances of execi to execpi
    Code:
    ${color orange}Experimental! ${hr 2} $color
    ${color Cyan}WEATHER ${hr 2}$color${execpi 600 sh /home/mike/conky_weather/weather_script.sh}
    ${font conkyweather:size=35}${execpi 600  sed -n '4p' /home/mike/conky_weather/weather1}${font} ${alignr}${voffset -20}${execpi 600 sed -n '1p' /home/teo/conky_weather/weather1}
    
    ${execpi 600 date --date="-1 days ago" '+%m/%d/%Y'} Forecast
    ${font conkyweather:size=35}${execpi 600  sed -n '5p' /home/mike/conky_weather/weather1}${font} ${alignr}${voffset -20}${execpi 600 sed -n '2p' /home/mike/conky_weather/weather1| fold -w30}
    
    ${execpi 600 date --date="-2 days ago" '+%m/%d/%Y'} Forecast
    ${font conkyweather:size=35}${execpi 600  sed -n '6p' /home/mike/conky_weather/weather1}${font} ${alignr}${voffset -20}${execpi 600 sed -n '3p' /home/mike/conky_weather/weather1| fold -w30}
    Execp parses text much better than exec.
    Attached Images Attached Images
    Last edited by TeoBigusGeekus; January 16th, 2011 at 12:52 PM.

  8. #108
    Join Date
    Dec 2009
    Location
    Mommy & Daddy's house
    Beans
    55
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOW TO: Conky weather info using Accuweather RSS/WUnderground ICAL/NWS XML(USA us

    That's strange. I used your corrections and it's back the way that it was. It looks to me like the vertical offset used to center the text is the cause of the problem. What's not apparent to me at this time is, how your text is the way that I want mine and we're using the same configuration. Huh... I guess I'll try harder to figure this one out.
    Attached Images Attached Images

  9. #109
    Join Date
    Feb 2008
    Beans
    5,636

    Re: HOW TO: Conky weather info using Accuweather RSS/WUnderground ICAL/NWS XML(USA us

    Can you post the latest version of your whole conkyrc?

  10. #110
    Join Date
    Dec 2009
    Location
    Mommy & Daddy's house
    Beans
    55
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOW TO: Conky weather info using Accuweather RSS/WUnderground ICAL/NWS XML(USA us

    Sure. No problem.

    Code:
    background yes
    use_xft yes
    xftfont HandelGotD:size=9
    xftalpha 0.5
    update_interval 1.0
    total_run_times 0
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 250 5
    maximum_width 250
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders no
    default_color white
    default_shade_color red
    default_outline_color green
    alignment top_right
    gap_x 12
    gap_y 48
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    override_utf8_locale no
    
    TEXT
    ${color orange}SYSTEM ${hr 2} $color
    $sysname $kernel $alignr $machine
    Uptime $alignr $uptime
    Load $alignr $loadavg
    $processes processes ($running_processes running)
    
    NAME${alignr}PID         CPU%        MEM%
    ${top name 1}${alignr}${top pid 1}       ${top cpu 1}          ${top mem 1}   
    ${top name 2}${alignr}${top pid 2}       ${top cpu 2}          ${top mem 2}   
    ${top name 3}${alignr}${top pid 3}       ${top cpu 3}          ${top mem 3}   
    ${top name 4}${alignr}${top pid 4}       ${top cpu 4}          ${top mem 4}
    
    ${color orange}Ethernet (${addr eth0}) ${hr 2} $color
    Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
    ${downspeedgraph eth0 20,120 e5e5e5 F1AA0E} ${alignr}${upspeedgraph eth0
    20,120 e5e5e5 F1AA0E}$color
    Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
    Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768
    61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
    
    ${color orange}CPU ${hr 2} $color
    ${freq}MHz${alignr}Load: ${loadavg}
    ${alignr}${loadgraph 20,250 e5e5e5 F1AA0E}
    CPU Total:${color} ${cpu cpu0}% ${color}${alignr}Temp:${color} ${execi 2 cat /sys/bus/pci/drivers/k8temp/000*/temp1_input | cut -c1,2 | awk '{print ($1*9)/5+32}'}${iconv_start UTF-8 ISO_8859-1}°F ${iconv_stop}
    ${alignr}${cpugraph 0 20,250 e5e5e5 F1AA0E}
    
    ${color orange}Memory ${hr 2} $color
    RAM $mem / $memmax ${alignr}${membar 8,60}
    Swap $swap / $swapmax ${alignr}${swapbar 8,60}
    
    ${color orange}HDD ${hr 2} $color
    / $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
    ${fs_bar /}
    
    /home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
    ${fs_bar /home}
    
    ${color orange}Experimental! ${hr 2} $color
    ${color Cyan}WEATHER ${hr 2}$color${execpi 600 sh /home/mike/conky_weather/weather_script.sh}
    ${font conkyweather:size=35}${execpi 600  sed -n '4p' /home/mike/conky_weather/weather1}${font} ${alignr}${voffset -20}${execpi 600 sed -n '1p' /home/mike/conky_weather/weather1}
    
    ${execpi 600 date --date="-1 days ago" '+%m/%d/%Y'} Forecast
    ${font conkyweather:size=35}${execpi 600  sed -n '5p' /home/mike/conky_weather/weather1}${font} ${alignr}${voffset -20}${execpi 600 sed -n '2p' /home/mike/conky_weather/weather1| fold -w30}
    
    ${execpi 600 date --date="-2 days ago" '+%m/%d/%Y'} Forecast
    ${font conkyweather:size=35}${execpi 600  sed -n '6p' /home/mike/conky_weather/weather1}${font} ${alignr}${voffset -20}${execpi 600 sed -n '3p' /home/mike/conky_weather/weather1| fold -w30}
    Last edited by MiKOTRON; January 17th, 2011 at 01:48 PM.

Page 11 of 122 FirstFirst ... 9101112132161111 ... 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
  •