Conky 날씨 설정 질문 입니다

pinkblue님이 올린글을 보고 저도 따라해봤는데여 viewtopic.php?p=30043

우선 제 .conkyrc 스크립트 입니다.

[quote:ev80j3t8]# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
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

Create own window instead of using desktop (required in nautilus)

own_window yes
own_window_transparent yes
own_window_type override
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

Use double buffering (reduces flicker, may not work for everyone)

double_buffer yes

Minimum size of text area

minimum_size 180 0
#maximum_width 200

Draw shades?

draw_shades no

Draw outlines?

draw_outline no

Draw borders around text

draw_borders no

Stippled borders?

stippled_borders 0

border margins

border_margin 5

border width

border_width 1

Default colors and also border colors

default_color white
#default_shade_color black
#default_outline_color white
own_window_colour white

Text alignment, other possible values are commented

#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

Gap between borders of screen and text

same thing as passing -x at command line

gap_x 20
gap_y 50

Subtract file system buffers from used memory?

no_buffers yes

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? note that UTF8 support required XFT

override_utf8_locale yes

Add spaces to keep things from moving about? This only affects certain objects.

use_spacer none

TEXT
SYSTEM ${hr 2}
${voffset 2}${font OpenLogos:size=16}u${font} Kernel: ${alignr}${kernel}
${font StyleBats:size=16}A${font} CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=16}A${font} CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${font StyleBats:size=16}g${font} RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}q${font} Upt(Tmp): ${alignr}${uptime}(${acpitemp})
${voffset 4}${font PizzaDude Bullets:size=14}a${font} IP Address: ${alignr}${addr eth0}

Down ${downspeed eth0} k/s ${alignr}Up ${upspeed eth0} k/s
${downspeedgraph eth0 25,107 cccccc ffffff} ${alignr}${upspeedgraph eth0 25,107 cccccc ffffff}
Total ${totaldown eth0} ${alignr}Total ${totalup eth0}

HDD ${hr 2}
${voffset 4}${font Pie charts for maps:size=14}7${font} ${voffset -5}Root:
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}

WEATHER ${hr 2}
${if_existing /proc/net/route eth0}
${voffset-10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600conkyForecast --location=KSXX0007 --datatype=WF}${font}
${voffset-50}${font Weather:size=40}y${font} ${voffset -38}${font ArialBlack:size=26}${execi 600 conkyForecast --location=KSXX0007–datatype=HT}${font}

${voffset 0}${alignc 43}${execpi 600conkyForecast --location=KSXX0007 --datatype=DW --startday=1–shortweekday} ${alignc 8}${execpi 600 conkyForecast–location=KSXX0007 --datatype=DW --startday=2 --shortweekday} ${alignc-29}${execpi 600 conkyForecast --location=KSXX0007 --datatype=DW–startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast–location=KSXX0007 --datatype=DW --startday=4 --shortweekday}
${voffset0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast–location=KSXX0007 --datatype=WF --startday=1 --endday=4–spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc48}${execpi 600 conkyForecast --location=KSXX0007 --datatype=HT–startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast–location=KSXX0007 --datatype=LT --startday=1 --hideunits–centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast–location=KSXX0007 --datatype=HT --startday=2 --hideunits–centeredwidth=3}/${execpi 600 conkyForecast --location=KSXX0007–datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc-40}${execpi 600 conkyForecast --location=KSXX0007 --datatype=HT–startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast–location=KSXX0007 --datatype=LT --startday=3 --hideunits–centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast–location=KSXX0007 --datatype=HT --startday=4 --hideunits–centeredwidth=3}/${execpi 600 conkyForecast --location=KSXX0007–datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}

${voffset 0}Station: ${alignr}${execpi 600 conkyForecast --location=KSXX0007 --datatype=OB}
${voffset 0}Precipitation: ${alignr}${execpi 600 conkyForecast --location=KSXX0007 --datatype=PC}
${voffset0}UV Rays: ${alignr}${execpi 600 conkyForecast --location=KSXX0007–datatype=UI} - ${execpi 600 conkyForecast --location=KSXX0007–datatype=UT}
${voffset 0}Wind: ${alignr}${execpi 600 conkyForecast–location=KSXX0007 --datatype=WS} - ${execpi 600 conkyForecast–location=KSXX0007 --datatype=WD}
${voffset 0}Visibility: ${alignr}${execpi 600 conkyForecast --location=KSXX0007 --datatype=VI}
${voffset 0}Humidity: ${alignr}${execpi 600 conkyForecast --location=KSXX0007 --datatype=HM}
${voffset 0}Dew Point: ${alignr}${execpi 600 conkyForecast --location=KSXX0007 --datatype=DP}
${voffset0}Bar: ${alignr}${execpi 600 conkyForecast --location=KSXX0007–datatype=BR} - ${execpi 600 conkyForecast --location=KSXX0007–datatype=BD}
${voffset 0}Sunrise/Set: ${alignr}${execpi 600conkyForecast --location=KSXX0007 --datatype=SR} / ${execpi 600conkyForecast --location=KSXX0007 --datatype=SS}
${voffset 0}Moon:${alignr}${execpi 600 conkyForecast --location=KSXX0007–datatype=MP}${else}${font PizzaDude Bullets:size=14}4${font} Weather Unavailable${endif}

DATE ${hr 2}
${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
${font NanumGothic:pixelsize=14}${alignc}${time %Y년 %m월 %d일 %A}${font}

${alignc 12}${font OpenLogos:size=20}u${font}
${alignc}"Linux for Human Beings"
${alignc}Ubuntu 9.04 Jaunty Jackalope[*][/quote:ev80j3t8]

http://www.gnome-look.org/content/show. ... tent=92328

이쪽 사이트에서 download Source 에서 92328-conky_colors.tar.gz 을 받아서
/usr/share/fonts/truetype/myfonts 폰트 파일 바꾸고 conkyforecast_2.04_all.deb 이 위에 압축파일
안에 있다고 하는데 아무리 찾아도 없더군요.http://ubuntuforums.org/showthread.php?t=869328 사이트 아래에 보니까
conkyforecast_2.05_all.deb 요게 있어서 요거 다운받아서 설치하고 날씨 사이트에서 인증키 받아서
빈칸 채워 놓고 저는 청주 사니까 KSXX0010 이껄로 .conkyrc 파일 수정해주고요
혹시 몰라서 사이트에 나온거 저것도 해주구요

$sudo aptitude install conky python-statgrab ttf-liberation hddtemp sensors-applet
$sudo chmod u+s /usr/sbin/hddtemp
$sudo sensors-detect #answering Yes (default) to all questions, even that last one that defaults to No

날씨 사이트에서 인증키 받아서 홈 폴더에 있는 홈폴더에 있는 .conkyForecast.config랑
conky 폴더에 있는 .conkyForecast.config랑 둘다 이렇게 수정해줬구요

[quote:ev80j3t8]# config settings for conkyForecast.py
CACHE_FOLDERPATH = /tmp/
CONNECTION_TIMEOUT = 5
EXPIRY_MINUTES = 30
TIME_FORMAT = %H:%M
DATE_FORMAT = %Y-%m-%d
LOCALE =
XOAP_PARTNER_ID = 1133xxxxxx
XOAP_LICENCE_KEY = 56f9840d7axxxxx[/quote:ev80j3t8]

지금 홈폴더에 설치 되있는게
src 폴더 (92328-conky_colors.tar.gz)
.conky 폴더 (92328-conky_colors.tar.gz)
.conkyForecast.config

혹시 머가 빠진게 있나여?

터미널 실행 하니까 이렇게 나오구요

[quote:ev80j3t8]Conky: unknown variable voffset-10
Conky: unknown variable voffset-50
Conky: unknown variable alignc-29
Conky: unknown variable voffset0
Conky: unknown variable alignc48
Conky: unknown variable alignc-40
Conky: unknown variable voffset0
Conky: unknown variable voffset0
Conky: desktop window (18000a7) is subwindow of root window (80)
Conky: window type - override
Conky: drawing to created window (0x4200001)
Conky: drawing to double buffer
ERROR: Error reading weather data: Invalid location provided.
ERROR: Location KSXX0007–datatype=HT is not in cache.
ERROR: Failed to load the location cache
ERROR: Location KSXX0007–datatype=HT is not in cache.
Traceback (most recent call last):
File "/usr/share/conkyforecast/conkyForecast.py", line 1553, in <module>
main()
File "/usr/share/conkyforecast/conkyForecast.py", line 1550, in main
forecastinfo.writeOutput()
File "/usr/share/conkyforecast/conkyForecast.py", line 1416, in writeOutput
output = self.getDatasetOutput(self.options.location, self.options.datatype, self.options.startday, self.options.endday, self.options.night, self.options.shortweekday, self.options.imperial, self.options.beaufort, self.options.hideunits, self.options.hidedegreesymbol, self.options.spaces, self.options.minuteshide, self.options.centeredwidth)
File "/usr/share/conkyforecast/conkyForecast.py", line 1199, in getDatasetOutput
self.logger.error("Failed to load the location cache")
AttributeError: ForecastInfo instance has no attribute ‘logger’
Usage: conkyForecast.py [options]

conkyForecast.py: error: option --startday: invalid integer value: ‘1–shortweekday’
sh: conkyForecast–location=KSXX0007: not found
ERROR: Unknown datatype requested: DW–startday=3
sh: conkyForecast–location=KSXX0007: not found
sh: conkyForecast–location=KSXX0007: not found
ERROR: Unknown datatype requested: HT–startday=1
sh: conkyForecast–location=KSXX0007: not found
sh: conkyForecast–location=KSXX0007: not found
ERROR: Error reading weather data: Invalid location provided.
ERROR: Location KSXX0007–datatype=LT is not in cache.
ERROR: Failed to load the location cache
ERROR: Location KSXX0007–datatype=LT is not in cache.
Traceback (most recent call last):
File "/usr/share/conkyforecast/conkyForecast.py", line 1553, in <module>
main()
File "/usr/share/conkyforecast/conkyForecast.py", line 1550, in main
forecastinfo.writeOutput()
File "/usr/share/conkyforecast/conkyForecast.py", line 1416, in writeOutput
output = self.getDatasetOutput(self.options.location, self.options.datatype, self.options.startday, self.options.endday, self.options.night, self.options.shortweekday, self.options.imperial, self.options.beaufort, self.options.hideunits, self.options.hidedegreesymbol, self.options.spaces, self.options.minuteshide, self.options.centeredwidth)
File "/usr/share/conkyforecast/conkyForecast.py", line 1199, in getDatasetOutput
self.logger.error("Failed to load the location cache")
AttributeError: ForecastInfo instance has no attribute ‘logger’
ERROR: Unknown datatype requested: HT–startday=3
sh: conkyForecast–location=KSXX0007: not found
sh: conkyForecast–location=KSXX0007: not found
ERROR: Error reading weather data: Invalid location provided.
ERROR: Location KSXX0007–datatype=LT is not in cache.
ERROR: Failed to load the location cache
ERROR: Location KSXX0007–datatype=LT is not in cache.
Traceback (most recent call last):
File "/usr/share/conkyforecast/conkyForecast.py", line 1553, in <module>
main()
File "/usr/share/conkyforecast/conkyForecast.py", line 1550, in main
forecastinfo.writeOutput()
File "/usr/share/conkyforecast/conkyForecast.py", line 1416, in writeOutput
output = self.getDatasetOutput(self.options.location, self.options.datatype, self.options.startday, self.options.endday, self.options.night, self.options.shortweekday, self.options.imperial, self.options.beaufort, self.options.hideunits, self.options.hidedegreesymbol, self.options.spaces, self.options.minuteshide, self.options.centeredwidth)
File "/usr/share/conkyforecast/conkyForecast.py", line 1199, in getDatasetOutput
self.logger.error("Failed to load the location cache")
AttributeError: ForecastInfo instance has no attribute ‘logger’
ERROR: Error reading weather data: Invalid location provided.
ERROR: Location KSXX0007–datatype=UI is not in cache.
ERROR: Failed to load the location cache
ERROR: Location KSXX0007–datatype=UI is not in cache.
Traceback (most recent call last):
File "/usr/share/conkyforecast/conkyForecast.py", line 1553, in <module>
main()
File "/usr/share/conkyforecast/conkyForecast.py", line 1550, in main
forecastinfo.writeOutput()
File "/usr/share/conkyforecast/conkyForecast.py", line 1416, in writeOutput
output = self.getDatasetOutput(self.options.location, self.options.datatype, self.options.startday, self.options.endday, self.options.night, self.options.shortweekday, self.options.imperial, self.options.beaufort, self.options.hideunits, self.options.hidedegreesymbol, self.options.spaces, self.options.minuteshide, self.options.centeredwidth)
File "/usr/share/conkyforecast/conkyForecast.py", line 1199, in getDatasetOutput
self.logger.error("Failed to load the location cache")
AttributeError: ForecastInfo instance has no attribute ‘logger’
ERROR: Error reading weather data: Invalid location provided.
ERROR: Location KSXX0007–datatype=UT is not in cache.
ERROR: Failed to load the location cache
ERROR: Location KSXX0007–datatype=UT is not in cache.
Traceback (most recent call last):
File "/usr/share/conkyforecast/conkyForecast.py", line 1553, in <module>
main()
File "/usr/share/conkyforecast/conkyForecast.py", line 1550, in main
forecastinfo.writeOutput()
File "/usr/share/conkyforecast/conkyForecast.py", line 1416, in writeOutput
output = self.getDatasetOutput(self.options.location, self.options.datatype, self.options.startday, self.options.endday, self.options.night, self.options.shortweekday, self.options.imperial, self.options.beaufort, self.options.hideunits, self.options.hidedegreesymbol, self.options.spaces, self.options.minuteshide, self.options.centeredwidth)
File "/usr/share/conkyforecast/conkyForecast.py", line 1199, in getDatasetOutput
self.logger.error("Failed to load the location cache")
AttributeError: ForecastInfo instance has no attribute ‘logger’
sh: conkyForecast–location=KSXX0007: not found
sh: conkyForecast–location=KSXX0007: not found
ERROR: Error reading weather data: Invalid location provided.
ERROR: Location KSXX0007–datatype=BR is not in cache.
ERROR: Failed to load the location cache
ERROR: Location KSXX0007–datatype=BR is not in cache.
Traceback (most recent call last):
File "/usr/share/conkyforecast/conkyForecast.py", line 1553, in <module>
main()
File "/usr/share/conkyforecast/conkyForecast.py", line 1550, in main
forecastinfo.writeOutput()
File "/usr/share/conkyforecast/conkyForecast.py", line 1416, in writeOutput
output = self.getDatasetOutput(self.options.location, self.options.datatype, self.options.startday, self.options.endday, self.options.night, self.options.shortweekday, self.options.imperial, self.options.beaufort, self.options.hideunits, self.options.hidedegreesymbol, self.options.spaces, self.options.minuteshide, self.options.centeredwidth)
File "/usr/share/conkyforecast/conkyForecast.py", line 1199, in getDatasetOutput
self.logger.error("Failed to load the location cache")
AttributeError: ForecastInfo instance has no attribute ‘logger’
ERROR: Error reading weather data: Invalid location provided.
ERROR: Location KSXX0007–datatype=BD is not in cache.
ERROR: Failed to load the location cache
ERROR: Location KSXX0007–datatype=BD is not in cache.
Traceback (most recent call last):
File "/usr/share/conkyforecast/conkyForecast.py", line 1553, in <module>
main()
File "/usr/share/conkyforecast/conkyForecast.py", line 1550, in main
forecastinfo.writeOutput()
File "/usr/share/conkyforecast/conkyForecast.py", line 1416, in writeOutput
output = self.getDatasetOutput(self.options.location, self.options.datatype, self.options.startday, self.options.endday, self.options.night, self.options.shortweekday, self.options.imperial, self.options.beaufort, self.options.hideunits, self.options.hidedegreesymbol, self.options.spaces, self.options.minuteshide, self.options.centeredwidth)
File "/usr/share/conkyforecast/conkyForecast.py", line 1199, in getDatasetOutput
self.logger.error("Failed to load the location cache")
AttributeError: ForecastInfo instance has no attribute ‘logger’
ERROR: Error reading weather data: Invalid location provided.
ERROR: Location KSXX0007–datatype=MP is not in cache.
ERROR: Failed to load the location cache
ERROR: Location KSXX0007–datatype=MP is not in cache.
Traceback (most recent call last):
File "/usr/share/conkyforecast/conkyForecast.py", line 1553, in <module>
main()
File "/usr/share/conkyforecast/conkyForecast.py", line 1550, in main
forecastinfo.writeOutput()
File "/usr/share/conkyforecast/conkyForecast.py", line 1416, in writeOutput
output = self.getDatasetOutput(self.options.location, self.options.datatype, self.options.startday, self.options.endday, self.options.night, self.options.shortweekday, self.options.imperial, self.options.beaufort, self.options.hideunits, self.options.hidedegreesymbol, self.options.spaces, self.options.minuteshide, self.options.centeredwidth)
File "/usr/share/conkyforecast/conkyForecast.py", line 1199, in getDatasetOutput
self.logger.error("Failed to load the location cache")
AttributeError: ForecastInfo instance has no attribute ‘logger’
^CConky: received SIGINT or SIGTERM to terminate. bye!
[/quote:ev80j3t8]
[attachment=0:ev80j3t8]screenshot1.png[/attachment:ev80j3t8]

뭐가 뭔지 잘 모르겠네여 열심히 따라해보고 이것저것 참고해봤는데 고수님들의 자문 부탁드립니다.

[quote:2hcims4d]Conky: unknown variable voffset-10
Conky: unknown variable voffset-50
Conky: unknown variable alignc-29
Conky: unknown variable voffset0
Conky: unknown variable alignc48
Conky: unknown variable alignc-40
Conky: unknown variable voffset0
Conky: unknown variable voffset0
ERROR: Location KSXX0007–datatype=HT is not in cache.
sh: conkyForecast–location=KSXX0007: not found
ERROR: Unknown datatype requested: DW–startday=3
sh: conkyForecast–location=KSXX0007: not found
sh: conkyForecast–location=KSXX0007: not found
ERROR: Unknown datatype requested: HT–startday=1
sh: conkyForecast–location=KSXX0007: not found
sh: conkyForecast–location=KSXX0007: not found
ERROR: Location KSXX0007–datatype=LT is not in cache.
ERROR: Location KSXX0007–datatype=LT is not in cache.
ERROR: Unknown datatype requested: HT–startday=3
sh: conkyForecast–location=KSXX0007: not found
sh: conkyForecast–location=KSXX0007: not found
ERROR: Location KSXX0007–datatype=LT is not in cache.
ERROR: Location KSXX0007–datatype=LT is not in cache.
ERROR: Location KSXX0007–datatype=UI is not in cache.
ERROR: Location KSXX0007–datatype=UI is not in cache.
ERROR: Location KSXX0007–datatype=UT is not in cache.
ERROR: Location KSXX0007–datatype=UT is not in cache.
sh: conkyForecast–location=KSXX0007: not found
sh: conkyForecast–location=KSXX0007: not found
ERROR: Location KSXX0007–datatype=BR is not in cache.
ERROR: Location KSXX0007–datatype=BR is not in cache.
ERROR: Location KSXX0007–datatype=BD is not in cache.
ERROR: Location KSXX0007–datatype=BD is not in cache.
ERROR: Location KSXX0007–datatype=MP is not in cache.
ERROR: Location KSXX0007–datatype=MP is not in cache.
[/quote:2hcims4d]
voffset, alignc 뒤에 한 칸씩 띄어주고
위에 나온 값들 모두를 – 앞에 한 칸씩 띄어주세요.
다른 것은 모르겠네요

[quote:3it8spgu]날씨 사이트에서 인증키 받아서 홈 폴더에 있는 홈폴더에 있는 .conkyForecast.config랑
conky 폴더에 있는 .conkyForecast.config랑 둘다 이렇게 수정해줬구요

config settings for conkyForecast.py

CACHE_FOLDERPATH = /tmp/
CONNECTION_TIMEOUT = 5
EXPIRY_MINUTES = 30
TIME_FORMAT = %H:%M
DATE_FORMAT = %Y-%m-%d
LOCALE =
XOAP_PARTNER_ID = 1133xxxxxx
XOAP_LICENCE_KEY = 56f9840d7axxxxx[/quote:3it8spgu]
저도 conky 처음 설치할 때 이틀 걸렸어요. :cry:

Babyfings님의 conky 는 날씨 부분이 문제군요.
.conkyrc 날씨 부분은 저와 같은데요.
.conkyForecast.config의 파일 내용이 저와 다르네요.
XOAP_PARTNER_ID =
XOAP_LICENCE_KEY =
이렇게 = 다음에 아무것도 없어야 하는 모양입니다.

http://www.weather.com이랑 접속이 안됐을 가능성이 높습니다.

에러 내용도 conkyForecast.py 쪽으로 많이 나오는 것 같군요.
conkyForecast 도 시냅틱패키지 관리자에서 삭제하고
다시 conkyforecast_2.05_all.deb 로 재 설치 할 수도 있을겁니다.
안되면 이것 저것 만져 봐야죠.
그럼 conky 성공하시길…

[quote:1z5eaczp]Conky: unknown variable voffset-10
Conky: unknown variable voffset-50
Conky: unknown variable alignc-29
Conky: unknown variable voffset0
Conky: unknown variable alignc48
Conky: unknown variable alignc-40
Conky: unknown variable voffset0
Conky: unknown variable voffset0[/quote:1z5eaczp]

이건 해결했네여 ^^ 저기 에러 나온거 한칸씩 띄어 주니까 이렇게 바뀌네여[attachment=0:1z5eaczp]screenshot1.png[/attachment:1z5eaczp]
벗뜨 날씨문제는 해결이 안돼네여
어쨌든 floor 님 감사합니다.

[quote="akuna":2ya2c46h]저도 conky 처음 설치할 때 이틀 걸렸어요. :cry:

Babyfings님의 conky 는 날씨 부분이 문제군요.
.conkyrc 날씨 부분은 저와 같은데요.
.conkyForecast.config의 파일 내용이 저와 다르네요.
XOAP_PARTNER_ID =
XOAP_LICENCE_KEY =
이렇게 = 다음에 아무것도 없어야 하는 모양입니다.

http://www.weather.com이랑 접속이 안됐을 가능성이 높습니다.

에러 내용도 conkyForecast.py 쪽으로 많이 나오는 것 같군요.
conkyForecast 도 시냅틱패키지 관리자에서 삭제하고
다시 conkyforecast_2.05_all.deb 로 재 설치 할 수도 있을겁니다.
안되면 이것 저것 만져 봐야죠.
그럼 conky 성공하시길…[/quote:2ya2c46h]

재설치 하니까 2.07로 깔리네여 .conkyForecast.config 저렇게 비워둬도 마찬가지네여

http://www.weather.com에서 받은 인증키가 실행이 되는지 확인하는법이 없을까여??

[quote:2ya2c46h]Conky: border_margin is deprecated, please use window.border_inner_margin instead
Conky: desktop window (18000a7) is subwindow of root window (80)
Conky: window type - override
Conky: drawing to created window (0x3e00001)
Conky: drawing to double buffer
ERROR: Error reading weather data: Invalid location provided.
ERROR: Location KSXX0007–datatype=HT is not in cache.
ERROR: Failed to load the location cache
ERROR: Location KSXX0007–datatype=HT is not in cache.
ERROR: Failed to load the location cache
Usage: conkyForecast.py [options]

conkyForecast.py: error: option --startday: invalid integer value: ‘1–shortweekday’
sh: conkyForecast–location=KSXX0007: not found
ERROR: Unknown datatype requested: DW–startday=3
sh: conkyForecast–location=KSXX0007: not found
sh: conkyForecast–location=KSXX0007: not found
ERROR: Unknown datatype requested: HT–startday=1
sh: conkyForecast–location=KSXX0007: not found
sh: conkyForecast–location=KSXX0007: not found
ERROR: Error reading weather data: Invalid location provided.
ERROR: Location KSXX0007–datatype=LT is not in cache.
ERROR: Failed to load the location cache
ERROR: Location KSXX0007–datatype=LT is not in cache.
ERROR: Failed to load the location cache
ERROR: Unknown datatype requested: HT–startday=3
sh: conkyForecast–location=KSXX0007: not found
sh: conkyForecast–location=KSXX0007: not found
ERROR: Error reading weather data: Invalid location provided.
ERROR: Location KSXX0007–datatype=LT is not in cache.
ERROR: Failed to load the location cache
ERROR: Location KSXX0007–datatype=LT is not in cache.
ERROR: Failed to load the location cache
ERROR: Error reading weather data: Invalid location provided.
ERROR: Location KSXX0007–datatype=UI is not in cache.
ERROR: Failed to load the location cache
ERROR: Location KSXX0007–datatype=UI is not in cache.
ERROR: Failed to load the location cache
ERROR: Error reading weather data: Invalid location provided.
ERROR: Location KSXX0007–datatype=UT is not in cache.
ERROR: Failed to load the location cache
ERROR: Location KSXX0007–datatype=UT is not in cache.
ERROR: Failed to load the location cache
sh: conkyForecast–location=KSXX0007: not found
sh: conkyForecast–location=KSXX0007: not found
ERROR: Error reading weather data: Invalid location provided.
ERROR: Location KSXX0007–datatype=BR is not in cache.
ERROR: Failed to load the location cache
ERROR: Location KSXX0007–datatype=BR is not in cache.
ERROR: Failed to load the location cache
ERROR: Error reading weather data: Invalid location provided.
ERROR: Location KSXX0007–datatype=BD is not in cache.
ERROR: Failed to load the location cache
ERROR: Location KSXX0007–datatype=BD is not in cache.
ERROR: Failed to load the location cache
ERROR: Error reading weather data: Invalid location provided.
ERROR: Location KSXX0007–datatype=MP is not in cache.
ERROR: Failed to load the location cache
ERROR: Location KSXX0007–datatype=MP is not in cache.
ERROR: Failed to load the location cache
[/quote:2ya2c46h]

머가 인증키가 제대로 안 먹는거 같은데 인증키를 넣어도 안돼고 빼도 안돼고
새로 받아도 안돼고 -_ㅠ

원리는 모르고 막 설치하다보니 되긴 되니까 쓰고 있었어요.
도움이 못 되네요.

http://www.gnome-look.org/content/show. ... tent=92328

에서 우분투용 deb 파일이 있는데
그걸 다운 받아서 설치하면 안될까요?

힘내시구요.
되면 좋겠지만 conky 못 쓰면 또 어때요.
사실 설치해 놓고 보니까 별로 안보게 되더군요.
그리고 내가 저걸 어떻게 설치했을까 의아하기도 하구요. :mrgreen:

[quote="akuna":3po8l02x]원리는 모르고 막 설치하다보니 되긴 되니까 쓰고 있었어요.
도움이 못 되네요.

http://www.gnome-look.org/content/show. ... tent=92328

에서 우분투용 deb 파일이 있는데
그걸 다운 받아서 설치하면 안될까요?

힘내시구요.
되면 좋겠지만 conky 못 쓰면 또 어때요.
사실 설치해 놓고 보니까 별로 안보게 되더군요.
그리고 내가 저걸 어떻게 설치했을까 의아하기도 하구요. :mrgreen:[/quote:3po8l02x]

이왕 시작한거 해보고 싶어서여 포기 하고 싶지가 않네여

conky 넘 어려워서 밑에껄로 바꿧는데

나름 나올거 다 나오니 쓸만하든데 권해봅니다.

제가 사용하는 conky 소스입니다.
압축파일을 열어서 readme 라는 파일에 씌인대로 설치하세요.
conkyforecast_2.04_all.deb 파일은 .scripts 폴더에 있어요.
conkyrc 는 기존파일을 수정해서 만들었습니다.

기본설치는 참고하신 분 설명은 잊고
readme 에 적힌 것만 하세요.
나머지 날씨코드 설정은 기존대로 하시구요.
시작프로그램에 몇초 늦게 설정하시는 것도 하시구요.

설치한지 한참돼서 잘 기억이 나지 않는데
설치과정 자체는 그렇게 복잡하지 않았던 것 같아요.
폰트… 이런 사항들은 저도 모릅니다.
일단 작동되는게 중요한 것 아닌가요.

제 conky 모양은 이렇습니다.
[url:3poobhiz]http://ubuntu.or.kr/viewtopic.php?f=18&t=5312&st=0&sk=t&sd=a&start=0[/url:3poobhiz]

[attachment=0:3poobhiz]conky.tar.gz[/attachment:3poobhiz]

conkyrc 이 파일이 안 올라가네요. :mrgreen:

[code:3poobhiz]use_xft yes
xftfont Liberation Sans:size=8

update_interval 1
total_run_times 0
double_buffer yes
text_buffer_size 1024

own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

minimum_size 185 0
maximum_width 185

draw_shades no
default_color white

alignment top_right
gap_x 25
gap_y 50

no_buffers no
net_avg_samples 2

override_utf8_locale yes

TEXT
SYSTEM ${hr 2}
${voffset 2}${font OpenLogos:size=16}u${font} Kernel: ${alignr}${kernel}
${font StyleBats:size=16}A${font} CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=16}A${font} CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${font StyleBats:size=16}g${font} Ram ${alignr}${mem} / ${memmax} ($memperc%)
${membar 4}
${font StyleBats:size=16}j${font} Swap ${alignr}${swap} / ${swapmax} ($swapperc%)
${swapbar 4}
${font StyleBats:size=16}q${font} Uptime: ${alignr}${uptime}

DATE ${hr 2}
${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
${font NanumGothic:pixelsize=14}${alignc}${time %Y년 %m월 %d일 %A}${font}

HD ${hr 2}
${execp ~/.scripts/hd_default.py}

NAME PID CPU% MEM%
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}

NETWORK ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}Z${font} Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local ip: ${alignr}${addr wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font} Public ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
${else}${if_existing /proc/net/route eth0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown eth0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local ip: ${alignr}${addr eth0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font} Public ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
${endif}${else}${if_existing /proc/net/route ppp0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed ppp0} kb/s ${alignr}${upspeedgraph ppp0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed ppp0} kb/s ${alignr}${downspeedgraph ppp0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup ppp0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown ppp0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local ip: ${alignr}${addr ppp0}
${endif}${else}${voffset 4}${font PizzaDude Bullets:size=14}4${font} Network Unavailable
${endif}

WEATHER ${hr 2}
${if_existing /proc/net/route eth0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=KSXX0047 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=KSXX0047 --datatype=HT}${font}

${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=KSXX0047 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=KSXX0047 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=KSXX0047 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=KSXX0047 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=KSXX0047 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=KSXX0047 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=KSXX0047 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=KSXX0047 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=KSXX0047 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=KSXX0047 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=KSXX0047 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=KSXX0047 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=KSXX0047 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}

${voffset 0}Station: ${alignr}${execpi 600 conkyForecast --location=KSXX0047 --datatype=OB}
${voffset 0}Precipitation: ${alignr}${execpi 600 conkyForecast --location=KSXX0047 --datatype=PC}
${voffset 0}UV Rays: ${alignr}${execpi 600 conkyForecast --location=KSXX0047 --datatype=UI} - ${execpi 600 conkyForecast --location=KSXX0047 --datatype=UT}
${voffset 0}Wind: ${alignr}${execpi 600 conkyForecast --location=KSXX0047 --datatype=WS} - ${execpi 600 conkyForecast --location=KSXX0047 --datatype=WD}
${voffset 0}Visibility: ${alignr}${execpi 600 conkyForecast --location=KSXX0047 --datatype=VI}
${voffset 0}Humidity: ${alignr}${execpi 600 conkyForecast --location=KSXX0047 --datatype=HM}
${voffset 0}Dew Point: ${alignr}${execpi 600 conkyForecast --location=KSXX0047 --datatype=DP}
${voffset 0}Bar: ${alignr}${execpi 600 conkyForecast --location=KSXX0047 --datatype=BR} - ${execpi 600 conkyForecast --location=KSXX0047 --datatype=BD}
${voffset 0}Sunrise/Set: ${alignr}${execpi 600 conkyForecast --location=KSXX0047 --datatype=SR} / ${execpi 600 conkyForecast --location=KSXX0047 --datatype=SS}
${voffset 0}Moon: ${alignr}${execpi 600 conkyForecast --location=KSXX0047 --datatype=MP}${else}${font PizzaDude Bullets:size=14}4${font} Weather Unavailable${endif}
[/code:3poobhiz]

복원하고 다시 한번 해봐야겠네여 안돼네여

드디어 성공했네여 ㅎ… 리드미파일보고 천천히 하니까 ㅋ 되네여

근데 시간 표시에 영어가 깨지는건 왜 그런걸까요? 저것만 하면 완벽하게 되는데 :geek:

[quote="Babyfings":tq95huv3]근데 시간 표시에 영어가 깨지는건 왜 그런걸까요? 저것만 하면 완벽하게 되는데 :geek:
[/quote:tq95huv3] 전에도 답한건데 날짜 시간 부분 폰트를 한글 폰트로 변경 해보십시요
아그리고 한국에 맞는 순서로 바꾸 보시고요
년 월 일 (요일)
예) ${font [b:tq95huv3]NanumGothic[/b:tq95huv3]:pixelsize=14}${alignc}${time %Y년 %m월 %d일 %A}${font}
이러한 변경이 리눅스 사용을 재미나게 합니다,
나중엔 소스가져다 별거 다 변경하게 되죠 …
그러다 보면 묘족에디션 사용자라고 듣게 됩니다.
[attachment=0:tq95huv3]screenshot2.png[/attachment:tq95huv3]

${alignc 45}${color2}${font Arial Black:size=30}${time %H:%M}${font}${color}
${alignc}${time %A %d %Y}

분도님 말대로 하니까 잘 되네여 ㅋ 이것 저것 연구해봐야겠어여 ㅎ

축하합니다. 멋지군요.
내꺼에는 없는 cpu 온도와 달력이 있네요.
당장 바꿀 생각은 없지만
견물생심이라고 보니까 욕심이 생기네요.