For Plasma 5, please see: https://store.kde.org/p/2070765/
Inspired by:
- https://github.com/kotelnik/plasma-applet-thermal-monitor
- and its fork https://gitlab.com/agurenko/plasma-applet-thermal-monitor
This applet uses libksysguard for retrieving temperature information provided by ksystemstats.
Usage
Add the applet to either the panel or the desktop. To add sensors to display, click the applet and configure.
Sensors can be added and renamed through the Add Sensors… button. To export sensors to the clipboard, and copy from, the import/export buttons can be used.
The libraries ksystemstats, libksysguard, kitemmodels, kdeclarative and kquickcharts must be installed. They are dependencies of even a minimal Plasma installation, so they should already be installed.
Ratings & Comments
45 Comments
Hands down, this is the best non-invasive Widget ever, the best of all is that has full support for Nvidia Nouveau drivers, now i can in peace keep an eye on both my AMD CPU and Nvidia GPU (Nouveau).Operating System: Arch Linux KDE Plasma Version: 6.2.5 KDE Frameworks Version: 6.10.0 Qt Version: 6.8.1 Kernel Version: 6.12.8-arch1-1 (64-bit) Graphics Platform: Wayland
10 It works perfectly in Plasma 6. If there are any errors, they help very quickly. I love it.
Update ruined this applet. It used to work and show the correct sensors. Now, the average cpu doesn't have a " ", so can't be added. You can't rename things. It's become kind of a mess.
I think I've fixed the issue with renaming, and will make a new release shortly. Can you elaborate on the other issue? It'd be really useful to have Plasma/Frameworks versions and a video showing.
I'm not able to add the "average CPU temperature" sensor. It does not have a plus sign next to it to be added. It's just sitting there. Hope that makes sense.
I'm afraid I can't reproduce this on a clean Kubuntu 24.10 VM with Plasma 6.1.5 and Qt 6.6.2, though I did find a different issue. It's not clear how this can happen from looking at the code. What I'd like for you to do is open a terminal and run `journalctl -f`. Open the applet's settings, and navigate to a page other than "Sensors". Clear the terminal with Ctrl Shift K and then switch to the "Sensors page", and click the "Add Sensors" button. Then go back to the terminal and press Ctrl Shift S to save the output. It's possible there's a clue in there.
Here is a pastebin https://pastebin.com/JDgpgpjz And here is a screenshot of what I'm talking about https://i.imgur.com/EWjFpx3.jpeg
I can't see any relevant errors and it doesn't seem possible in the code for that to happen, so I'm stumped. I'll keep an eye out to see if anyone else reports this. What you could do for now is export your sensors (which will copy them to the clipboard, paste it into a text document and add an object with sensorId "cpu/all/averageTemperature". Then you can copy it and paste it back in.
I have the same problem in Arch
Should now be fixed! I updated my system on Arch and the issue appeared, so it seems like some strange Qt bug/regression. I've added a workaround.
Thank you very much. This is the fastest update in my life. It works perfectly.
9 When selecting a dark theme, such as Breath Dark, the sensor items are not visible in the list. The sensor items can only be seen when clicked/selected.
It won't install.
Hey folks, after ksysguard gone from plasma its not working anymore, even with libs ksystemstats and libksysguard installed, anyone got success running thermal monitor, now display just 2 cpu cores nothing more.
Not sure what happened but on openSUSE TW I used to have more sensors, now I only have CPU. I've made sure all the libraries are installed. In fact the only reason I noticed this was a problem was because I redid my whole panel by deleting it and readding widgets and I could no longer add GPU. Before I deleted my panel I had cpu and gpu monitors. Any idea what could be wrong?
Its happen on fedora and nobara too, its because ksysguard gone from plasma, even with libraries libksysguard and ksystemstats installed not working, just 2 cpu cores, appreciate a litle hel to make it work.
FWIW libksysguard still exists, and provides the sensor information architecture used by KSystemStats and plasma-systemmonitor. The issue where no sensors are shown under "Add Sensors" should be fixed in v0.1.6 -- please let me know if not.
8 This is really great but the only thing I wish I could change is the font type/size. I like to have a 30px panel and in doing so I can either only see the name of the monitor or the reading of the temperature. Being able to change the font and size, I'd be able to see both lines of text.
Hi. I'm just wondering what is the prerequisite for showing HDD temperatures, like in the screenshot? smartctl, hddtemp, drivetemp... something else? I'm not getting any HDD temperature sensors in the list.
Bit of a mislabel, the screenshot actually shows an NVME SSD. This value comes from KSystemStats' lmsensors plugin. There is no plugin that supports showing temperatures for hard drives. What you can do is file a feature request bug for KSystemStats, for a plugin that could read disk temperature from the SMART data that disks report. Like KInfoCenter's SMART Status page (in plasma-disks), the data could be read from the smartctl command as is currently done for Nvidia GPU values. Let me know if you do this - it's something I could potentially implement.
Hi olib. Thanks for the quick reply. There is now a way to monitor HDD temperatures through lmsensors called "drivetemp". It's a kernel module, part of the hwmon kernel framework, that you can load with "modprobe" command and HDD temperatures will then be shown with "sensors" command or any lmsensors compatible frontend. "sensors-detect" unfortunately is still not aware of this module and will not recommend you to load it. What I failed to understand is why KSystemStats lmsensors plugin doesn't detect any HDD sensors after I load the "drivetemp" module with "modprobe". But it just ocurred to me... ksystemstats requires a restart :D. Lo and behold, after restart, it shows the HDD temperature sensors. TL;DR To monitor HDD temperatures with this widget do (linux kernel 5.6 ): $ modprobe drivetemp $ systemctl --user restart plasma-ksystemstats.service
Bah, my multi-line comment got squashed :(. Anyway, to make it permanent, you can also add "drivetemp" to "/etc/modules" at least on Ubuntu/Debian based systems.
Font scale does not work for me.
8 Thank you very much for porting this to plasma6! :) I would love to be able to adjust the font-sizes (or size-rations between value and label) and be able to have the labels left-aligned like in the "old" version. Other than that, it works really well!
Thank you again for your work and improving Thermal Monitor further (at least for Plasma 6). If you use a different font than boring Noto Sans the temperature "segments" unfortunatetly still move slightly from right to left (and back) when the numbers change (with more than one temperature displayed side by side). One now can get around this by choosing -> Appearance -> Labels -> Swap so the font sizes/places are interchanged - but shouldn't the font colours also be swapped then?