conky를 설치하고 conkyForecast도 성공적(?)으로 띄웠습니다만
아무래도 날씨가 자동으로 update가 안되는 것 같습니다.
시간이 지나도 그대로 이고… kill로 죽이고 다시 띄워야 바뀝니다.
.conkyForecast.config 에서 EXPIRY_MINUTES를 바꿔봐도 소용이 없네요.
CACHE_FOLDERPATH = /tmp/
CONNECTION_TIMEOUT = 30
EXPIRY_MINUTES = 5
TIME_FORMAT = %H:%M
DATE_FORMAT = %Y-%m-%d
LOCALE =
XOAP_PARTNER_ID = xxxxxxxxx
XOAP_LICENCE_KEY = xxxxxxxxxxxxxx
.conkyrc 는 아래와 같습니다.
참고하시고 조언 부탁드립니다.
use_xft yes
xftfont Liberation Sans:size=8
#xftfont gulim:size=8
override_utf8_locale yes
#override_utf8_locale no
text_buffer_size 2048
Update interval in seconds
update_interval 1
This is the number of times Conky will update before quitting.
Set to zero to run forever.
total_run_times 0
double_buffer yes
no_buffers yes
net_avg_samples 1
cpu_avg_samples 1
Create own window instead of using desktop (required in nautilus)
own_window_class Conky
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
default_color cccccc
draw_shades yes
color0 white
color1 red
color2 lightblue
color3 blue
color4 green
color5 cyan
alignment top_right
gap_x 25
gap_y 40
minimum_size 182 0
maximum_width 182
#imlib_cache_size 0
TEXT
${voffset -10}${font Liberation Sans:style=Bold:size=8}
SYSTEM $stippled_hr
${font}
${color0}${voffset -10}${font OpenLogos:size=19}u${font}${color}${goto 32}${voffset -14}Kernel: ${alignr}${color2}${kernel}${color}
${goto 32}Uptime: ${alignr}${color2}${uptime}${color}
Intel Core Duo $alignr${color2}${freq_g cpu0} Ghz${color}
#${color color4}${color whte}${cpu cpu1} %${alignr}${cpu cpu1} %${color green}
${voffset }CPU1: ${color1}${cpu cpu1}% / ${execi 30 sensors | grep ‘temp1’ | cut -c15-16}°C${color} ${goto 100}CPU2: ${color1}${cpu cpu2}% / ${execi 30 sensors | grep ‘temp2’ | cut -c15-16}°C${color}
${voffset }${color white}${cpugraph cpu0 25,90 0000FF DD00FF} ${alignr}${cpugraph cpu1 25,90 0000FF DD00FF}${color}
#${voffset }${color white}${cpugraph cpu0 25,90 0000FF DD00FF} ${alignr}${cpugraph cpu1 25,90 0000FF DD00FF}${color}
${if_existing /proc/net/route eth0}
${voffset -10}Up: ${color1}${upspeed eth0} / ${totalup eth0}${color} ${goto 100}Dn: ${color1}${downspeed eth0} / ${totaldown eth0}${color}
${voffset }${color white}${upspeedgraph eth0 25,90 FF8200 ff0000} ${alignr}${downspeedgraph eth0 25,90 FF0000 FF9900}${color}
${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 32}${voffset -4}Local IP: ${alignr}${color2}${addr eth0}${color}
${goto 32}Public IP: ${alignr}${color2}${execi 10800 ~/.conky/ip.sh}${color}
${else}${if_existing /proc/net/route wlan0}
${voffset }Up: ${color1}${upspeed wlan0} / ${totalup wlan0}${color} ${goto 100}Dn: ${color1}${downspeed wlan0} / ${totaldown wlan0}${color}
${voffset }${color white}${upspeedgraph wlan0 25,90 FF8200 ff0000} ${alignr}${downspeedgraph wlan0 25,90 FF0000 FF9900}${color}
${voffset -2}${color0}${font Poky:size=14}Y${font}${color}${goto 32} ${voffset -2}Signal: ${font Liberation Sans:style=Bold:size=8}${color1}${wireless_link_qual wlan0}%${color}${font} ${alignr}${color2}${wireless_link_bar 8,60 wlan0}${color}
${voffset 4}${color0}${font Poky:size=13}w${font}${color}${goto 32}${voffset -8}Local IP: ${alignr}${color2}${addr wlan0}${color}
${goto 32}Public IP: ${alignr}${color2}${execi 10800 ~/.conky/ip.sh}${color}
${endif}${else}${if_existing /proc/net/route ppp0}
${voffset -10}Up: ${color1}${upspeed ppp0} / ${totalup ppp0}${color} ${goto 100}Dn: ${color1}${downspeed ppp0} / ${totaldown ppp0}${color}
${voffset }${color white}${upspeedgraph ppp0 25,90 FF8200 ff0000} ${alignr}${downspeedgraph ppp0 25,90 FF0000 FF9900}${color}
${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 32}${voffset -4}Local IP: ${alignr}${color2}${addr ppp0}${color}
${endif}${else}${voffset 4}${color0}${font PizzaDude Bullets:size=12}4${font}${color}${goto 32}Network Unavailable${endif}${endif}
MEM $alignc $mem / $memmax $alignr ${color1}$memperc%${color}
${membar FF8200 ff0000}
SWAP $alignc $swap / $swapmax $alignr ${color1}$swapperc%${color}
${swapbar FF8200 ff0000}
#${voffset -10}${color0}${font Poky:size=16}P${font}${offset -19}${voffset 9}${cpubar cpu0 4,18}${color}${voffset -15}${voffset -1}${goto 32}CPU1: ${font Liberation Sans:style=Bold:size=8}${color1}${cpu cpu1}%${font} ${alignr}${font Liberation Sans:style=Bold:size=8}${color1}${execi 30 sensors | grep ‘temp1’ | cut -c15-16}°C${color}${font} ${color2}${cpugraph cpu1 8,50 white white}${color}
#${voffset -1}${goto 32}CPU2: ${font Liberation Sans:style=Bold:size=8}${color1}${cpu cpu2}%${font} ${alignr}${font Liberation Sans:style=Bold:size=8}${color1}${execi 30 sensors | grep ‘temp2’ | cut -c15-16}°C${color}${font} ${color2}${cpugraph cpu2 8,50 white white}${color}
#${color0}${font Poky:size=16}M${font}${color}${goto 32}${voffset -7}RAM: ${font Liberation Sans:style=Bold:size=8}${color1}$memperc%${color}${font}
#${offset 1}${voffset 2}${color2}${membar 4,18}${color}${goto 32}${voffset -4}U: ${color2}${mem}${color} F: ${color2}${memeasyfree}${color}
#${goto 32}SWAP: ${font Liberation Sans:style=Bold:size=8}${color1}${swapperc}%${color}${font}
#${goto 32}U: ${color2}$swap${color} F: ${color2}$swapmax${color}
#${color0}${font Poky:size=13}E${font}${color}${goto 32}${voffset -5}Battery: ${font Liberation Sans:style=Bold:size=8}${color1}${battery_percent BAT0}%${color}${font} ${alignr}${color2}${battery_bar 8,60 BAT0}${color}
${voffset }${color0}${font Poky:size=15}a${font}${color}${goto 32}${voffset -10}Processes: ${color2}${alignr 13}CPU${alignr}RAM${color}
${voffset -1}${goto 42}${color2}${top name 1}${color}${font Liberation Sans:style=Bold:size=8}${color1} ${goto 124}${top cpu 1}${alignr }${top mem 1}${color}${font}
${voffset -1}${goto 42}${color2}${top name 2}${color}${font Liberation Sans:style=Bold:size=8}${color1} ${goto 124}${top cpu 2}${alignr }${top mem 2}${color}${font}
${voffset -1}${goto 42}${color2}${top name 3}${color}${font Liberation Sans:style=Bold:size=8}${color1} ${goto 124}${top cpu 3}${alignr }${top mem 3}${color}${font}
${voffset -1}${goto 42}${color2}${top name 4}${color}${font Liberation Sans:style=Bold:size=8}${color1} ${goto 124}${top cpu 4}${alignr }${top mem 4}${color}${font}
${voffset -1}${goto 42}${color2}${top name 5}${color}${font Liberation Sans:style=Bold:size=8}${color1} ${goto 124}${top cpu 5}${alignr }${top mem 5}${color}${font}
${voffset -1}${goto 42}${color2}${top name 6}${color}${font Liberation Sans:style=Bold:size=8}${color1} ${goto 124}${top cpu 6}${alignr }${top mem 6}${color}${font}
${voffset 4}${font Liberation Sans:style=Bold:size=8}TIME & DATE $stippled_hr${font}
#${voffset -10}${alignc}${color2}${font Arial Black:size=30}${time %H:%M:%S}${font}${color}
${alignc 50}${color2}${font Impact:size=10}${time %Z}${font}${font Impact:size=30}${time %H}:${time %M:%S}${font}${color}
#${font Arial:bold:size=12}${color Tan1}WORLD TIME ${color DarkSlateGray} ${hr 2}
$font${color4}London$alignr${tztime Europe/London %T}
$font${color4}Frankfurt$alignr${tztime Europe/Berlin %T}
$font${color4}Los Angeles$alignr${tztime America/Los_Angeles %T}
$font${color4}Chicago$alignr${tztime America/Chicago %T}
#${voffset -10}${color0}${font Poky:size=15}d${font}${color}
#${voffset -6}${font Liberation Mono:size=8}${execpi 10800 DJS=date +%_d
; cal -m | sed ‘s/^/${alignc} /’ | sed s/" $DJS "/" "‘${font Liberation Mono:style=bold:size=8}${color1}’"$DJS"‘${color}${font}${font Liberation Mono:size=8}’" "/}${font}${font}
${voffset }${color0}${font Poky:size=15}d${font}${color}${goto 50}${voffset -6}${font gulim:size=9}${execpi 10800 DJS=date +%_d
; cal -m | sed ‘s/^/${goto 50} /’ | sed s/" $DJS "/" "‘${font gulim:style=bold:size=9}${color1}’"$DJS"‘${color}${font}${font gulim:size=9}’" "/${font}}${font}
${voffset -85}${color5}${font Impact:size=10}${time %V th}${font}${color}
${voffset 55}${font Liberation Sans:style=Bold:size=8}HD $stippled_hr${font}
${voffset 4}${color0}${font Weather:size=15}y${font}${color}${voffset -2}${goto 32}Temperature: ${font Liberation Sans:style=Bold:size=8}${color1}${execi 120 hddtemp /dev/sda -n --unit=C}°C${color}${font}${alignr}${color2}/dev/sda${color}
${execpi 30 ~/.conky/hd_default.py}
${voffset 4}${font Liberation Sans:style=Bold:size=8}WEATHER $stippled_hr${font}
${execpi 10800 conkyForecast --location=KSXX0025 -t ~/.conky/conkyForecast.template --refetch}
#${if_existing /proc/net/route eth0}
#${execpi 10800 ~/.conky/conkyForecast.py --location=KSXX0025 -t ~/.conky/conkyForecast.template}
#${execpi 10800 conkyForecast --location=KSXX0025 -t ~/.conky/conkyForecast.template --refetch}
#${else}${if_existing /proc/net/route wlan0}
#${execpi 10800 ~/.conky/conkyForecast.py --location=KSXX0025 -t ~/.conky/conkyForecast.template}
#${execpi 10800 conkyForecast --location=KSXX0025 -t ~/.conky/conkyForecast.template --refetch}
#${endif}${else}${if_existing /proc/net/route ppp0}
#${execpi 10800 ~/.conky/conkyForecast.py --location=KSXX0025 -t ~/.conky/conkyForecast.template}
#${execpi 10800 conkyForecast --location=KSXX0025 -t ~/.conky/conkyForecast.template --refetch}
#${endif}${else}${voffset 4}${color0}${font PizzaDude Bullets:size=12}4${font}${color}${goto 32}Weather Unavailable${endif}${endif}