CPU Temperature Indicator

by fevimu

UUID: temperature@fevimu
Score: 33
Last edited: 1 month ago
Last commit: 5c395880e5c7b601e3026d48527950d8cbe773f6



Shows CPU Temperature

35 Comments

-
1 year ago
Thank you for making this applet.

Temperature readings were great etc.

Unfortunately, like the previous reviewer I also found that it froze my desktop every 5-7 seconds:
http://forums.linuxmint.com/viewtopic.php?f=59&t=122783&p=1109619#p1109619

I therefore had to uninstall it.
I also had a problem with the applet keeping the focus when i had clicked on another window.
-
1 year ago
Thanks for this applet!
It was a long time installed on my computer until I found out that it made my computer freeze every 5sec.

The whole screen output was freezing for about 0.1sec as gari126 stated.
The first time I noticed it, was after activating an opengl screensaver in Linux Mint 17.2.

Could you revise the code, so that the mainloop timeout doesn't freeze the screen output like that?
Thanks in advance.
-
1 year ago
Hey, not a bug or anything just kinda bothers me.
Could you use the degree sign (\u00B0) rather than the current modifier letter capital O (\u1D3C)? Makes it less big, and, you'll then be using the correct sign.
Just a suggestion.
-
1 year ago
Great Applet Thanks. Confirmed working great in Cinnamon 2.6.7
-
2 years ago
Works as expected. Nice.
-
2 years ago
Don't work for me. Sensor output: http://termbin.com/vi4u
-
2 years ago
OK, just had to configure lm-sensors and reload the applet, now it works correctly.
-
2 years ago
This is such a useful applet! But on my Lenovo X301, it just doesn't show the right values. sensors tells me, the system is around 57-61 degrees, but the applet displays something like 43 degrees. How do I feed it the right values from lm-sensors?
-
3 years ago
Fevimu,
I'm running Mint 13 64-bit Cinnamon. I don't have lm-sensors installed, yet after extracting the zip file into the applets folder, and adding the applet, I see the temperature (52.0 C) on my applet. When I click the temperature, I see a pop-up box that says "Virtual Thermal Zone: 52.0 C).

Would installing lm-sensors make any difference?
-
3 years ago
For Fahrenheit, edit the file:
/home/(your user name)/.local/share/cinnamon/applets/temperature@fevimu/applet.js
Search for the following line and remove the // from in front of it: (i.e. uncomment the line):
//return this._toFahrenheit(t).toString()+"\u1d3cF";
Great app! <3
-
3 years ago
Is the any way i can get this to display in Fahrenheit? I saw a comment about edting the file but what do i edit?
-
3 years ago
Thanks, very helpful. Am on Mint Box and is useful in knowing how high temp has gone....
Can we have setting to display the temperature only if iut exceeds particular threshold? Say, if it crosses 50° C, i want it to be diplayed else hidden from view.
-
3 years ago
This applet seems working but it seems also freezing my screen a couple of 0.1s every couple of seconds ...
When I remove it and relaunch Cinnamon, then the freezes go away. But as soon as I ask it back, the freezes come back!
Pitty!
Using Cinnamon 1.8.8 on Linux Mint 15
-
3 years ago
for me it isn't working, seems to be taking the average of the cpu temps and some unchanging virtual temp.

sensors output:
(BTW the radeon card temp doesn't alter under GPU load, so thats probably nothing as well)

acpitz-virtual-0
Adapter: Virtual device
temp1: +40.0°C (crit = +120.0°C)

radeon-pci-0100
Adapter: PCI adapter
temp1: +72.0°C

coretemp-isa-0000
Adapter: ISA adapter
Core 0: +52.0°C (high = +78.0°C, crit = +100.0°C)
Core 1: +52.0°C (high = +78.0°C, crit = +100.0°C)
-
3 years ago
This applet is getting a temperature reading that isn't in the "sensors" output! My motherboard has a CPU temperature sensor (precise to 1*c), which sensors detects, and the AMD CPU itself also has 4 temperature sensors (precise to 0.1*c), which I've only ever gotten to work in Windows. The Linux 'sensors-detect' and 'sensors' programs do not show the very precise AMD CPU sensors. But your applet does! Not only is the temp it displays precise to 0.1*c, but I'm watching all the other sensors alongside, and it is definitely not just a more precise version of one of the other sensors. It is the AMD CPU sensor! How did your applet find it? How can I use it in other programs? Please email me at moeburn at gmail dot com!
-
3 years ago
I just installed this applet and ended up doing some research because I thought the temperature readings reported weren't correct. It seems the applet takes two different temperature readings (in my case, "PCI Adapter" and "ACPI Adapter") and reports their average as the CPU temperature. So I decided to see if "sensors" was actually giving contradictory info (sensors output availaible here: http://pastebin.com/HYcGUTxJ ).

So there seems to be two CPU temperature readings: +23.8°C by PCI Adapter and +38.0°C by ACPI Interface. I'm inclined to believe the +38.0 is actually correct, because it's a pretty warm day (23°C in shade). So I google "k10temp-pci-00c3" to see what this weird reading is all about, and come across this: http://yeupou.wordpress.com/2012/02/18/getting-accurate-temperature-reading-for-the-cpu/

Based on that blog post, the ACPI reading is correct and the one reported by k10temp is meant to be used by cooling systems or something. Quoting the k10temp kernel module document (https://www.kernel.org/doc/Documentation/hwmon/k10temp, also linked in the blog post): "...a non-physical temperature on an arbitrary scale measured in degrees. It does _not_ represent an actual physical temperature".

So there you go. At least on AMD CPUs the ACPI reading is correct and k10temp should be ignored.
-
3 years ago
I can't see the applet in my Cinnamon 1.8 bar.
-
3 years ago
Thanks for the great applet. I extended it to show the hdd temperatures using hddtemp, too. Are you interested?
-
3 years ago
Great applet! Thanks for adding the line to use F instead of C worked like a charm!
-
3 years ago
Very Good ! Work well and simply !
-
3 years ago
Does what it says ;) thanks!
-
4 years ago
I'm attempting to use this applet, but show an error status. I'm not sure why, as I do have a temp output for each of my cores. Any ideas?

http://pastebin.com/1GdaAn5t
-
4 years ago
My PC has a GEForce GT 610 running with the nouveau drivers instead of Nvidia software. In the output from "sensors", it shows up as a PCI adapter with the label "nouveau-pci-0100". Its temperature can be included in this applet's display by editing the applet source, adding one further condition to the line (in _findTemperatureFromSensorsOutput) which checks for the PCI Adapter label being "k10tem" or "k8temp" :
|| senses_lines[i-1].substr(0,7)=='nouveau'

I don't know how general this pattern is, but it might cover other cases where a nouveau driver is handling the graphics card.
-
4 years ago
Thanks a lot, this was really missing from the out-of-the-box install.
But I got the same problem than billynick, and solved it by tweaking the code in a similar way. I think that the applet could be simplified a lot by letting the user specify which adapter/sensor should be used (using 2 variable at the very beginning of the code) rather than by trying to auto-detect the CPU temperature.
Also, +1 for koopa's comment: would be nice if the popup would disappear like for all the other applets.
-
4 years ago
It would be nice if the popup disappear as you click everywhere in the screen. It's a little boring to click right in the applet to make the popup disappear.
-
4 years ago
Works on my mint 14 on Sony Vaio VPCEB1C5E with intel i5-m430. Good!
-
4 years ago
Works very nicely. On my Dell Latitude D820 lm_sensors reports:
i8k-virtual-0
Adapter: Virtual device
Right Fan: 73380 RPM
I have played with it, but have not been able to add my fan speed. Is this something you can do?
Thanks! StanW
-
4 years ago
Hello,

I'm not sure that your temperature is correct, but I'm not an expert in "lm-sensors" and its configuration.

Anyway, I have made ??a modification of the applet to your specific case. You can download the modification in the following link and replace the existing file on your computer.

http://dl.dropbox.com/u/1280898/applet.js

I hope you serve.
-
4 years ago
i know its line 16 cos it matches bios and also if i run a torture test, for example 'stress' thats the temp that rises
-
4 years ago
Why are you sure that line 16 is the temperature of the CPU? Have you seen it in another application?

This application uses the output of "sensors", if it is not good, the applet is not good either.
-
4 years ago
oah that was a bit unreadable. ive put it here http://paste.ubuntu.com/1425067/
line 16 is the cpu temp
-
4 years ago
sensors
it8721-isa-0290
Adapter: ISA adapter
in0: +2.82 V (min = +2.26 V, max = +2.74 V) ALARM
in1: +2.77 V (min = +1.80 V, max = +0.73 V) ALARM
in2: +1.33 V (min = +2.51 V, max = +2.53 V) ALARM
+3.3V: +3.29 V (min = +5.50 V, max = +2.23 V) ALARM
in4: +0.13 V (min = +2.80 V, max = +0.18 V) ALARM
in5: +2.50 V (min = +1.04 V, max = +2.64 V)
in6: +2.14 V (min = +0.07 V, max = +2.62 V)
3VSB: +4.54 V (min = +2.26 V, max = +3.36 V) ALARM
Vbat: +3.36 V
fan1: 588 RPM (min = 12 RPM)
fan2: 593 RPM (min = 10 RPM)
fan3: 0 RPM (min = 99 RPM) ALARM
temp1: +28.0°C (low = -33.0°C, high = +71.0°C) sensor = thermistor <<<<<<<<<<<<<<< this is the cpu temp
temp2: +25.0°C (low = +123.0°C, high = -82.0°C) ALARM sensor = thermistor
temp3: -128.0°C (low = -33.0°C, high = -8.0°C) sensor = disabled
intrusion0: OK

k10temp-pci-00c3
Adapter: PCI adapter
temp1: +7.9°C (high = +70.0°C)
(crit = +90.0°C, hyst = +87.0°C)

fam15h_power-pci-00c4
Adapter: PCI adapter
power1: 14.27 W (crit = 124.77 W)
-
4 years ago
Type "sensors" in ther terminal. which is the result?
-
4 years ago
does not work here, it says my cpu temperature is +7.5C, which is obviously wrong. this is an amd fx 8150 with an asus sabertooth 990fx motherboard. lm-sensors is installed
-
4 years ago
Fevimu you already have my feedback but thought I would post here also.
Works great.
5 stars form me.
You can also edit the file so it shows fahrenheit just like you can with the gnome-shell extension.