Saturday, 17 October 2009

Finally! CPU temps in Conky on the Acer Aspire One!


I gave up on getting CPU temps in Conky (on my Acer Aspire One netbook) ages ago. Something to do with hardware incompatibility with lm-sensors, or acpi or something...Anyway, I never figured it out.

But after trawling through the Crunchbang forums in search of why I couldn't manage to compile the acerhdf module...I discovered how to find my CPU temp! Once I got acerhdf to compile (it turns out that I hadn't installed the headers for my Linux kernel, so the make was crashing out), I followed the instructions on this post to display the current CPU temp.

All you have to do is type
cat /sys/class/thermal/thermal_zone0/temp
in a terminal, and it outputs the CPU temp in degrees C.

To use this in Conky, just use
${exec cat /sys/class/thermal/thermal_zone0/temp}

Happy Conkying!


  1. First, sorry for my english (Soy argentino) so I've decided to write in spanish:

    Felicitaciones, me encantan tus trabajos con Conky. Son excelentes y sobrios. Algunos me gustaron más que otros, eso sí, pero me sorprende la calidad y las posibilidades casi infinitas que ofrece Conky.

    Un abrazo y felicidaes.

  2. This does not work for me. It states that my CPU temp is 26800 :(