How To View CPU Temperature On Linux

View CPU Temperature On Linux

12 Responses

  1. Moltke says:

    Hi! Nice blog. I used to use sensors command to check on cpu temps, however, I had to open the terminal every time to do that, so I found and installed an applet for the xfce panel, but again, is the same story with the terminal and sensors command. I’d like an utility that shows cpu temps in the panel without the need of opening anything. Is there such a way to show cpu temps on the xfce panel? So far I found nothing that works. I’m on Linux Lite XFCE flavour by the way. I’m not exactly new to Linux but I’m not expert neither. Thanks, and again great blog you have here! 🙂

  2. Александр Костик says:

    thanks !

  3. muondude says:

    Thanks for the post. This works just as you show on Debian 9.5!

  4. Josh Freeno says:

    I am on Manjaro KDE and my machine is a Yoga laptop and I cant get the fan rpm to show up. I reinstalled lm_sensors but with the same result. My machine is not running hot but I need to be able to see fan speed. Also I am new to linux and really giving this a go and was seriously thinking of doing away with windows 10 all together but then I ran into this and before I delete windows I would like to make sure I have all the wrinkles out ya know. Your tutorials have been so much help to me. Thanks for the great work.

  5. Jovan R. says:

    @Moltke : Did you find this XFCE plugin “xfce4-sensors-plugin” and installed it ? If you did, it should appear in the “Add New Items…” on the left mouse click anywhere on the panel and then select this item as “Sensor plugin” . Or, you can left click on the panel and select “Panel Preferences…” and then “Items” tab followed by click on big “+” -> where you can search for “sen” . After you add this to the panel, you have to put checkmark on the desired sensor. You may have added this plugin to the panel, but if you did not configured it to show your sensors values, it will be blank (panel background color) in the panel. To confugure it to show values, there is two ways. First, go to the panel preferences, select “Sensor plugin” and click on the gear icon. Second, find blank space in the panel with your mouse, do not move it for a while – there should be pop-up below mouse cursor with text “No sensors selected!”. When you put a checkmark on the desired sensors, they will be shown on the panel. When you are at this window, look at the other tabs/options. Here we can change the temparature units (Cels./Far.), rename (change) the text (labels) if double-clck ont the “Name” field, etc…

    @Josh F. : Your Yoga laptop (maybe) is not well supported by the lm_sensors package or it’s configuration. Did you find your sensors chip in the output of sensors-detect command? If answer is yes, then you have to tweak lm_sensors configuration. It is in the “/etc/sensors3.conf” . There should be a “sensors.d” folder in the same place. I think that by default this “sen*.d” is empty. You can copy “sensors3.conf” to this folder, rename it (but, prepend [add] a number before the rest of the name) to match your laptop. This is because, files in this folder are alphanumeric looked up by the lm_sensors package. You should google search for the right settings for your laptop.
    For that, I can’t help you.

    @sk: Sorry for the lenghty post…

  6. J Park says:

    Thank you very much for your endeavor.

  7. Mark says:

    Nice guide! Very helpful, thanks.

  8. Jeff says:

    Thank you very much for writing this article – it is most informative!

  9. Matthew says:

    Thank you so much Jovan R. Your tip worked for me! After over a full day of trying, and this morning, I finally got my fans working on my Wacom Mobile Studio Pro that I put Xfce Linux Mint. Not sure why the panel matters so much of all things, but it seems to be the missing key! Another user here ( lists a similar experience where he fiddled around with his panel and suddenly got his fans to work without understanding quite how or why. This seems to me to be a bit of a mysterious problem with Linux, hopefully a concrete answer will emerge eventually!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.