Conky 설정 질문있어요. cpu 온도 표시 문제

붉은색 부분이 cpu온도나타내는 소스로 알고 있는데요;;;

cpu온도창에 온도가 나오지 않아요.

도와주세요.

xubuntu 13.04사용자입니다. :roll:

읽어주셔서 감사해요~

######################

- Conky settings -

######################
update_interval 1
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1

imlib_cache_size 0
double_buffer yes
no_buffers yes

#####################

- Text settings -

#####################
use_xft yes
xftfont Ubuntu:size=9
override_utf8_locale yes
text_buffer_size 2048

#############################

- Window specifications -

#############################
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
#own_window_argb_visual yes
#own_window_argb_value 100

alignment tr
gap_x 10
gap_y 360
minimum_size 350 300

default_bar_size 60 8

#########################

- Graphics settings -

#########################
draw_shades no

default_color efefef
default_shade_color 1d1d1d
color0 ffffff
color1 ffffff
color2 ffffff

#lua_load ~/.conky/conkybg.lua
#lua_draw_hook_pre conky_draw_bg

TEXT
${voffset 5}
[color=#BF0000:yt3kzxai]${goto 92}CPU1 Auslastung: ${font Ubuntu:style=Bold:size=9}${color1}${cpu cpu1}%${font}${color} ${alignr 15}Temp: ${color1}${font Ubuntu:style=Bold:size=9}${color1}${execi 30 sensors | grep ‘Core0’ | cut -c15-16}°C${color}${font}

${goto 92}CPU2 Auslastung: ${font Ubuntu:style=Bold:size=9}${color1}${cpu cpu2}%${font}${color} ${alignr 15}Temp: ${font Ubuntu:style=Bold:size=9}${color1}${execi 30 sensors | grep ‘Core1’ | cut -c15-16}°C${color}${font} [/color:yt3kzxai]

${goto 92}RAM:${color1} ${font Ubuntu:style=Bold:size=9}${memperc}%${font}${color}${font Ubuntu:style=Bold:size=9}${font} Free: ${font Ubuntu:style=Bold:size=9}${color2}${memeasyfree}${color} ${font}${alignr 22}Used: ${font Ubuntu:style=Bold:size=9}${color2}${mem}${color}${font}

${goto 92}HDD:${color1} ${font Ubuntu:style=Bold:size=9}${fs_used_perc /home}%${font}${color} Free: ${color2}${font Ubuntu:style=Bold:size=9}${fs_free /home}${color}${font} ${alignr 22}Used: ${font Ubuntu:style=Bold:size=9}${color2}${fs_used /home}${color}${font}

${if_up eth0}
${voffset -4}${goto 92}${voffset -6}Upload: ${font Ubuntu:style=Bold:size=9}${color1}${upspeed eth0}${color}${font} ${goto 230}Insgesamt: ${font Ubuntu:style=Bold:size=9}${color2}${totalup eth0}${color}${font}
${voffset 4}${goto 92}Signal: ${font Ubuntu:style=Bold:size=9}${color1}${wireless_link_qual eth0}%${color}${font} ${alignr 15}
${voffset 4}${goto 92}Down: ${font Ubuntu:style=Bold:size=9}${color1}${downspeed eth0}${color}${font} ${goto 230}Insgesamt: ${font Ubuntu:style=Bold:size=9}${color2}${totaldown eth0}${color}${font}

|–ETH0

${else}${if_up eth0}
${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 92}${voffset -6}Up: ${font Ubuntu:style=Bold:size=9}${color1}${upspeed eth0}${color}${font} ${alignr 15}${color2}${upspeedgraph eth0 8,60 92B6F1 CCDFFF}${color}
${goto 92}Insgesamt: ${color2}${totalup eth0}${color}
${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 92}${voffset -6}Down: ${font Ubuntu:style=Bold:size=9}${color1}${downspeed eth0}${color}${font} ${alignr 15}${color2}${downspeedgraph eth0 8,60 92B6F1 CCDFFF}${color}
${goto 92}Insgesamt: ${color2}${totaldown eth0}${color}
${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 92}${voffset -4}Lokale IP: ${alignr 15}${color2}${addr eth0}${color}
${goto 92}Öffentliche IP: ${alignr 15}${color2}${execi 10800 ~/.conkycolors/bin/conkyIp}${color}

|–PPP0

${endif}${else}${if_up ppp0}
${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 92}${voffset -6}Up: ${font Ubuntu:style=Bold:size=9}${color1}${upspeed ppp0}${color}${font} ${alignr 15}${color2}${upspeedgraph ppp0 8,60 92B6F1 CCDFFF}${color}
${goto 92}Insgesamt: ${color2}${totalup ppp0}${color}
${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 92}${voffset -6}Down: ${font Ubuntu:style=Bold:size=9}${color1}${downspeed ppp0}${color}${font} ${alignr 15}${color2}${downspeedgraph ppp0 8,60 92B6F1 CCDFFF}${color}
${goto 92}Insgesamt: ${color2}${totaldown ppp0}${color}
${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 92}${voffset -4}Lokale IP: ${alignr 15}${color2}${addr ppp0}${color}
${endif}${else}${voffset 4}${color0}${font PizzaDude Bullets:size=12}4${font}${color}${goto 92}Netzwerk nicht verfügbar${endif}${endif}

${image ~/.conky/base.png -p 10,0 -s 339x86}${image ~/.conky/base.png -p 10,146 -s 339x86}${image ~/.conky/base.png -p 10,73 -s 339x86}${image ~/.conky/Task_Manager.png -p 32,20 -s 45x45}${image ~/.conky/Memory.png -p 32,93 -s 45x45}${image ~/.conky/wlan100.png -p 32,166 -s 45x45}

일단 터미널에서 sensors를 실행해보세요.

제경우는
bluealbum@ubuntu:~$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +27.8°C (crit = +106.0°C)
temp2: +29.8°C (crit = +106.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +36.0°C (high = +85.0°C, crit = +105.0°C)
Core 0: +37.0°C (high = +85.0°C, crit = +105.0°C)
Core 1: +27.0°C (high = +85.0°C, crit = +105.0°C)

이렇게 나옵니다. 따라서 아래 부분이 바뀌어야 하네요.

sensors | grep ‘Core0’ | cut -c15-16 > sensors | grep ‘Core 0’ | cut -c18-21

‘Core0’ 부분이 'Core 0’로, cut 부분은 sonsors에서 나오는 자료에서 적당히 잘라내시면 됩니다.

[quote="bluealbum":135prg8f]일단 터미널에서 sensors를 실행해보세요.

제경우는
bluealbum@ubuntu:~$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +27.8°C (crit = +106.0°C)
temp2: +29.8°C (crit = +106.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +36.0°C (high = +85.0°C, crit = +105.0°C)
Core 0: +37.0°C (high = +85.0°C, crit = +105.0°C)
Core 1: +27.0°C (high = +85.0°C, crit = +105.0°C)

이렇게 나옵니다. 따라서 아래 부분이 바뀌어야 하네요.

sensors | grep ‘Core0’ | cut -c15-16 > sensors | grep ‘Core 0’ | cut -c18-21

‘Core0’ 부분이 'Core 0’로, cut 부분은 sonsors에서 나오는 자료에서 적당히 잘라내시면 됩니다.[/quote:135prg8f]

감사합니다. 지금 시도해볼꼐요~!