Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using conky&conkyforecast to have a nice widget containing some system information and weather data.

But I can see that the temperature that conky shows is different than the one I get running in terminal sensors.

Conky script line: Temperature: ${alignr}${acpitemp}°C

Running sensors in terminat gets this:

florin@florin-Satellite-C650:~$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +49.0°C  (crit = +110.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +51.0°C  (high = +80.0°C, crit = +90.0°C)
Core 2:       +60.0°C  (high = +80.0°C, crit = +90.0°C)

Conky shows 49° temperature.

How can I make them show the same temperature? What does conky show over there?

Thanks a lot!

share|improve this question

I found that this worked for me:

${platform coretemp.0 temp 1}

This reads the temperature info from /sys/devices/platform/coretemp.0/temp1_input.

share|improve this answer
    
For some reason I had to change this ${platform coretemp.0/hwmon/hwmon0 temp 1} because temp1_input only exists in /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_input on my system (Debian sid) – mxmlnkn May 31 at 14:00

Another possible solution is:

${exec cat /sys/devices/platform/coretemp.0/temp1_input | cut -c-2 }

or if that doesn't work:

${exec cat /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input | cut -c-2 }
share|improve this answer

Conky is showing the temperature you told it to show. The one which is 49° is the ambient system temperature. To show CPU core temperatures, you'll need to do something like what is described here.

share|improve this answer
3  
There is a reason NOT to answer like you do: you'll end up with broken links – Ed Villegas Jul 18 '15 at 23:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.