CPU1:${color white}${platform coretemp.0 temp 2}C ${color #666666} CPU2:${color white}${platform coretemp.0 temp 3}C
lm-sensors shows what seem to be more accurate figures, but only for the whole CPU but not each core:
root@brain:/usr/local/bin# sensors |grep temp coretemp-isa-0000 temp1: +31.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor temp2: +22.0°C (low = +127.0°C, high = +127.0°C) sensor = thermal diode temp3: -2.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistortemp1 is CPU and temp2 is mobo, temp3 I think is a quantum space link to the refrigerator so we'll skip that.
But how to display this in Conky? With exec to run sensors of course. I used execi to run sensors at 5 second intervals and cut to get the relevant bits. Voile! Entry in conkyrc:
$alignc${color #666666}CPU: ${color white}${execi 5 sensors | grep temp1 | cut -c16-22} ${color #666666}Mobo: ${color white}${execi 5 sensors | grep temp2 | cut -c16-22} 

















