VinDSL what are you using to generate your conky weather?
Vin please post some direction to how to achieve your conky.
Alrighty then. Let's do a quick n' dirty tutorial...
I'm using 2 programs -- Conky & conkyForecast. Both are available in the Ubu Software Center 10.10. I'm not sure about other distros.
In order to suck the weather data into conkyForecast, you need to setup a (free) account on
weather.com aka The Weather Channel.
You will need the XOAP Registration Service numbers, from your account on weather.com, to feed weather data to conkyForecast, e.g. Conky.
To get these XOAP numbers, you will need to go into your weather.com Profile and setup an "XML Data Feed". This is very easy to do. They will send your public/private keys via email.
You will also be using your Location ID, from weather.com.
The registration screen looks like this...
These numbers will be used in your conkyForecast.config file...
Code:
XOAP_PARTNER_ID = <ID FROM WEATHER.COM GOES HERE>
XOAP_LICENCE_KEY = <KEY FROM WEATHER.COM GOES HERE>
As far as putting it all together is concerned, I do things a little differently than others.
I don't like running all over my system files to tweak Conky & conkyForecast. I like to do it from a single file -- .conkyrc
Here's what my .conkyrc looks like...
Code:
#################
## VinDSL ##
#################
####
## Use XFT?
#
use_xft yes
xftfont LiberationSans:size=9
xftalpha 0.1
text_buffer_size 2048
####
## Update interval in seconds.
#
update_interval 1.5
####
## This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
####
## Create own window instead of using desktop (required in nautilus)?
#
own_window yes
own_window_type override
own_window_transparent yes
# own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
####
## Use double buffering? Reduces flicker.
#
double_buffer yes
####
## Minimum size of text area.
#
minimum_size 245 0
# maximum_width 250
####
## Draw shades?
#
draw_shades no
####
## Draw outlines?
#
draw_outline no
####
## Draw borders around text?
#
draw_borders no
####
## Draw borders around graphs?
#
draw_graph_borders no
####
## Text alignment.
#
alignment top_right
####
## Gap between screen borders and text.
#
gap_x 15
gap_y 30
####
## Subtract file system buffers from used memory?
#
no_buffers no
####
## Set to yes, if you want all text to be in uppercase.
#
uppercase no
####
## Number of cpu samples to average.
# Set to 1 to disable averaging.
cpu_avg_samples 2
####
## Number of net samples to average.
# Set to 1 to disable averaging.
net_avg_samples 2
####
## Force UTF8? UTF8 support requires XFT.
#
override_utf8_locale yes
####
## Add spaces to keep things from moving around?
# Only affects certain objects.
use_spacer right
####
## My colors
#
color0 White
color1 Ivory
color2 Ivory2
color3 Ivory3
color4 Tan1
color5 Tan2
color6 Gray
color7 AntiqueWhite4
color8 DarkSlateGray
color9 Black
TEXT
##################
## LOGO ##
##################
${voffset -33}${color2}${font OpenLogos:size=103}v${voffset -66}${goto 179}${font UbuntuTitleBold:size=20}${color4}10.10
##################
## SYSTEM ##
##################
${voffset -15}${font Arial:bold:size=10}${color4}SYSTEM ${color8} ${hr 2}
${voffset 4}${color2}${font OpenLogos:size=10}u${voffset -4}$font${color6} $sysname $kernel $alignr $machine
${voffset 2}${color2}${font StyleBats:size=10}A${voffset -1}$font${color6} Intel P4 Extreme Edition $alignr${freq_g cpu0} GHz
${voffset 2}${color2}${font StyleBats:size=10}q${voffset -1}$font${color6} Uptime $alignr${uptime}
${voffset 2}${color2}${font StyleBats:size=10}o${voffset -1}$font${color6} File System $alignr${fs_type}
##################
## PROCESSORS ##
##################
${font Arial:bold:size=10}${color4}PROCESSORS ${color8}${hr 2}
${voffset 2}${color2}${font StyleBats:size=10}k${voffset -2}$font${color6} CPU1 ${cpu cpu1}%
${color7}${cpubar cpu1}
${voffset 2}${color2}${font StyleBats:size=10}k${voffset -2}$font${color6} CPU2 ${cpu cpu2}%
${color7}${cpubar cpu2}
##################
## MEMORY ##
##################
${font Arial:bold:size=10}${color4}MEMORY ${color8}${hr 2}
${voffset 2}${color2}${font StyleBats:size=10}l${voffset -2}$font${color6} RAM $alignc $mem / $memmax $alignr $memperc%
${color7}$membar
##################
## HDD ##
##################
${font Arial:bold:size=10}${color4}HDD ${color8}${hr 2}
${voffset 2}${color2}${font StyleBats:size=10}x${voffset -2}$font${color6} ROOT $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${color7}${fs_bar /}
${voffset 2}${color2}${font StyleBats:size=10}4${voffset -2}$font${color6} SWAP $alignc $swap / $swapmax $alignr $swapperc%
${color7}${swapbar}
##################
# TOP PROCESSES ##
##################
${font Arial:bold:size=10}${color4}TOP PROCESSES ${color8}${hr 2}
${voffset 2}${color1}${font StyleBats:size=10}h${voffset -3}$font${color6} ${top_mem name 1} $alignr ${top mem 1} %
${voffset 2}${color1}${font StyleBats:size=10}h${voffset -3}$font${color6} ${top_mem name 2} $alignr ${top mem 2} %
${voffset 2}${color1}${font StyleBats:size=10}h${voffset -3}$font${color6} ${top_mem name 3} $alignr ${top mem 3} %
${voffset 2}${color1}${font StyleBats:size=10}h${voffset -3}$font${color6} ${top_mem name 4} $alignr ${top mem 4} %
${voffset 2}${color1}${font StyleBats:size=10}h${voffset -3}$font${color6} ${top_mem name 5} $alignr ${top mem 5} %
##################
## NETWORK ##
##################
${font Arial:bold:size=10}${color4}NETWORK ${color8}${hr 2}
${voffset 2}${color2}${font PizzaDude Bullets:size=10}a$font${color6} IP on eth0 $alignr ${addr eth0}
${voffset 4}${color2}${font PizzaDude Bullets:size=10}T$font${color6} Down $alignr ${downspeed eth0}
${color2}${font PizzaDude Bullets:size=10}N$font${color6} Up $alignr ${upspeed eth0}
${voffset 4}${color2}${font PizzaDude Bullets:size=10}T$font${color6} Downloaded: $alignr ${totaldown eth0}
${color2}${font PizzaDude Bullets:size=10}N$font${color6} Uploaded: $alignr ${totalup eth0}
##################
## WEATHER ##
##################
${font Arial:bold:size=10}${color4}WEATHER ${color8}${hr 2}
${voffset 4}${goto 55}${color1}${font Weather:size=40}y${voffset -8}${font RadioSpace:size=32}${color3} ${execpi 600 conkyForecast --imperial --location=<YOUR LOCATION FROM WEATHER.COM>}
${voffset -20}${font LiberationSans:size=20}${color4}$alignc${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --datatype=CT}
${goto 60}${font ConkyWeather:style=Bold:size=40}${color3}${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --datatype=WF}${goto 130}${font ConkyWindNESW:style=Bold:size=40}${color3}${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --datatype=BS}
${voffset -28}${goto 50}$font${color3}Feels like ${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --imperial --datatype=LT --centeredwidth=4 -iu}${goto 140}${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --imperial --datatype=WS}
${voffset 10}${goto 43}$font${color3}${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --datatype=DW --startday=1 --shortweekday}${goto 109}${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --datatype=DW --startday=2 --shortweekday}${goto 172}${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --datatype=DW --startday=3 --shortweekday}
${goto 33}$font${color3}${font ConkyWeather:size=32}${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --datatype=WF --startday=1 --endday=3 --spaces=2}
${voffset -30}${goto 31}$font${color3}${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --imperial --datatype=HT --startday=1 --hideunits --centeredwidth=4 -iu}/${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --imperial --datatype=LT --startday=1 --hideunits --centeredwidth=4 -iu}${goto 97}${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --imperial --datatype=HT --startday=2 --hideunits --centeredwidth=4 -iu}/${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --imperial --datatype=LT --startday=2 --hideunits --centeredwidth=4 -iu}${goto 162}${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --imperial --datatype=HT --startday=3 --hideunits --centeredwidth=4 -iu}/${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --imperial --datatype=LT --startday=3 --hideunits --centeredwidth=4 -iu}
##################
## TIME ##
##################
${font Arial:bold:size=10}${color4}TIME ${color8}${hr 2}
${font RadioSpace:size=32}${color3}$alignc${time %l:%M%p}
${voffset -31}$font${color3}$alignc${time %A},$font${color3}${offset 5}${time %d %b %Y}
${voffset 3}$font${color4}$alignc Rise ${execi 3600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --datatype=SR --startday=1} | Set ${execi 3600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --datatype=SS --startday=1}
As you can see, I'm using several custom fonts in .conkyrc...
- Arial
- ConkyWeather
- ConkyWindNESW
- LiberationSans
- OpenLogos
- PizzaDude
- RadioSpace
- StyleBats
- UbuntuTitleBold
- Weather
If you want the look n' feel of my script, you'll need to download/install these fonts on your machine .
One last thing...
I delay the startup of Conky on boot. If I don't do this, 99% of the time Conky will look wonky (or not load at all).
I like Conky to automagically startup at boot (with a delay)...
I add this command to my startup routine...
Code:
sh /home/vindsl/.config/autostart/conky-start-delayed.sh
Here is the content of conky-start-delayed.sh...
Code:
#!/bin/bash
sleep 10 && conky;
That's about the size of it... :awe: