Sensors Monitor

UUID: Sensors@claudiux
Last edited:
2 weeks ago 2024-11-25, 05:38
Last commit: [b67e3e6b] Hungarian translation updates (#6621)

Displays the values of many computer sensors concerning Temperatures (CPU - GPU - Power Supply), Fan Speed, Voltages, Intrusions. Notifies you with color changes when a value reaches or exceeds its limit.

README

Close

Sensors Monitor

Download

This applet displays and monitors the values ​​of many computer sensors concerning

  • Temperatures (from CPU, GPU, Power Supply, Disks)
  • Fan Speed
  • Voltages
  • Intrusions.

It notifies you with color changes when a value reaches or exceeds its limit.

It uses values from the sensors command. (See lm-sensors.)

Any suggestion to improve this Sensors@claudiux applet is welcome.

Benefits

  • Allows simultaneous display and monitoring of values ​​from multiple sensors, including sensors of the same type. (For example: 2 temperatures, 3 voltages, 1 fan speed, 1 intrusion detector can be displayed in the panel.) The number of values displayed in the panel depends only on the size that you can or want to allow to this applet.

  • This applet's tooltip can display sensor values ​​and limits, including those that are not displayed in the panel. The number of sensors you can display in the tooltip depends only on the height of your desktop.

  • All values are displayed in your local format.

  • Many display options are present in the settings.

  • The menu of this applet gives you direct access to the different kinds of settings, and contains useful shortcuts.

  • Avoid wasted processor time and memory leaks.

Dependencies

This applet needs 4 packages:

  • lm-sensors to get the sensor values.
  • xsensors to display these values in an independent graphical interface.
  • fonts-symbola that contains some symbols used by this applet.
  • smartmontools that provides smartctl to read disk temperature.

Sensors@claudiux helps you to install these packages, if any.

Install

From Cinnamon Settings (recommended)

Just go to System Settings > Applets then

  1. In the just opened window, in Download tab, search this applet with the keyword Sensors and download it.
  2. Go to the Manage tab of the same window, click on this applet then add it to Cinnamon.
  3. Open the settings of this applet and configure it as you want.

From the Cinnamon Spices website

Download the package containing the latest version of this applet and extract the contents into ~/.local/share/cinnamon/applets. Then go to System Settings > Applets and run the 2-3 steps above.

Settings

There are five tabs in settings:

  • General
  • Temperature
  • Fan
  • Voltage
  • Intrusion

All these tabs are directly accessible from the menu of this applet.

FAQ

How to display the temperature of each of my disks?

Internal disks

Try to load the drivetemp module:

sudo modprobe drivetemp

If that give you a valid result running sensors, add drivetemp into the list of modules to load at startup of your computer:

echo "drivetemp" | sudo tee -a /etc/modules

External disks (on USB port)

The smartmontools package must be installed. The command which smartctl must return: /usr/sbin/smartctl

You must be a member of the sudo or wheel group. Verify using the groups command.

In the Temperature tab of this applet settings, click on the button Make disk temperature user-readable (You'll be asked to enter your password.)

Alternatively, run the commands:

echo "%sudo ALL = NOPASSWD:NOLOG_INPUT:NOLOG_OUTPUT:NOMAIL: /usr/sbin/smartctl" | sudo tee "/etc/sudoers.d/smartctl"

echo "%wheel ALL = NOPASSWD:NOLOG_INPUT:NOLOG_OUTPUT:NOMAIL: /usr/sbin/smartctl" | sudo tee -a "/etc/sudoers.d/smartctl"

Then, log out and log in your session.

How to display Nvidia video card temperature?

The applet will now automatically detect the existence of the nvidia-smi tool version 550.107.02 or higher, test to ensure that the tool is compatible, and if so will present the Nvidia GPU temperature sensors. The applet will log an info entry if the tool is found and works, or an error entry if the tools is found and fails.

The nvidia-smi tool is part of the Nvidia closed source drivers, and only supports "NVIDIA's Tesla, Quadro, GRID and GeForce devices from Fermi and higher architecture families".

(While the tool does report fan speed, it does so as a percentage so is not compatible with the fan speed features of the applet.)

When requesting help with this feature, please include the output of nvidia-smi -L as well as any entries in the '~/.xsession-errors' file related to 'Nvidia SMI'.

Many thanks to @JEleniel for her contribution!

My PC has several temperature sensors and their values ​​are different. Why and which one to choose?

Example:

  • CPUTIN = CPU Temperature Index
  • AUXTIN = Auxiliary Temperature Index
  • SYSTIN = System Temperature Index

AUXTIN is the Power Supply temperature sensor (if there is one) while SYSTIN relates to Motherboard.

CPUTIN and CoreTemp are different. The temperatures they indicate are not from the same sensor. CoreTemp is the sensor on the processor while CPUTIN is the motherboard CPU temp sensor.

Coretemp gives the real temperature of each processor core (Core 0, Core 1, ...) and the real global temperature of the processor in Package.

There is a part of the sensors command output:

Package id 0:  +44.0°C  (high = +69.0°C, crit = +75.0°C)
Core 0:        +43.0°C  (high = +69.0°C, crit = +75.0°C)
Core 1:        +42.0°C  (high = +69.0°C, crit = +75.0°C)
Core 2:        +40.0°C  (high = +69.0°C, crit = +75.0°C)
Core 3:        +40.0°C  (high = +69.0°C, crit = +75.0°C)
[...]
CPUTIN:         +49.0°C  (high = +80.0°C, hyst = +75.0°C)
                         (crit low = +127.0°C, crit = +127.0°C)

The CPUTIN value can be "polluted" by the temperature of the motherboard (SYSTIN).

So, in this case, choose the Package id 0 value to display the temperature of the CPU.

In settings, no sensor appears in certain tabs.

There are different reasons:

  1. The kernel modules driving these sensors are not started. Beware of too recent hardware / motherboard.
  2. The module is successfully started but it returns a zero value and you have checked the Show only strictly positive values box. Example: Your computer is fanless, so no fan is present to send data to the fan sensor.
  3. Your sensor is wrong or not connected.
  4. Your /etc/sensors3.conf file (or any .conf file in /etc/sensors.d) must be configured for your chip. Search if a configuration file already exists. Once config file is installed, reboot the computer.

Some values seem to be wrong

Your /etc/sensors3.conf file must be configured for your chip. Search if a configuration file already exists.

Since version 3.0.0 of this applet, you can specify certain limit values and a formula to correct the values returned by a sensor. This is often much simpler than having to modify the /etc/sensors3.conf file. The correct values and the formula will be found in the documentation of your chipset.

My computer seems to have very few sensors

Try the sensors-detect command with root rights (sudo sensors-detect). See man sensors-detect for more information.

If you have specific hardware, try to put into the /etc/sensors.d/ folder (with root rights) at least one of these .conf files.

How to report an issue or make a feature request?

  1. Click on the "Issues" button at the top of this page and open a "New issue".
  2. Start the title with: Sensors@claudiux: . This title must contain a very short description of the issue (or feature request).
  3. Mention me in the text: @claudiux.
  4. Indicate the version numbers of Cinnamon (command: cinnamon --version in a terminal), of sensors (command: sensors -v in a terminal) and of this applet (visible by opening its menu).
  5. Open the General tab of settings of this applet, click on the button "Example of sensor values from this computer", copy all the content of the just opened window and paste it between two triple-backquotes in the text of the issue.
  6. Open a terminal and execute the command: sensors -j. (If it does not work, try sensors -u.) Copy/paste the output in the text of the issue, also between triple-backquotes.
  7. Describe your problem in as much detail as possible. Thank you.

Contributing

Any contribution or translation is welcome!

Translations

Status of translations

Thank you very much to all of these translators!

Thank the author

If you think this Cinnamon applet is useful, then please take the time to log in with your Github account and click on the star at the top of this page. It really encourages me!

Claudiux (@claudiux)

CHANGELOG

Open

Log In To Comment!

98 Comments

Nitrooo
Nitrooo-2 days ago
Hi @claudiux, thank you for your great applets. I use an old Nvidia card still tied to the 470 driver (and there are many of us) and I can't show the temperature because of version control, although actually even with the 470 driver the command "nvidia-smi --format=csv,noheader --query-gpu=name,pci.bus_id,temperature.gpu" works just fine. Would it be possible to remove the check, or add an override option, perhaps with a warning saying that compatibility is not guaranteed? It's a pity to have a working feature but not be able to use it. In any case, thank you in advance and keep up your good work.
claudiux
claudiux-2 days ago
Hi @Nitrooo, Thank you for the compliments. Please tell me what this command returns: `nvidia-smi --version`
Nitrooo
Nitrooo-2 days ago
Apparently that flag is not supported in older versions, this is the output: "Invalid combination of input arguments. Please run 'nvidia-smi -h' for help." It seems like there's no other flag to print out the program version. The version can be printed by simply running "nvidia-smi", but that would require some parsing: Wed Dec 11 12:17:12 2024 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 470.256.02 Driver Version: 470.256.02 CUDA Version: 11.4 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |===============================+======================+======================| | 0 NVIDIA GeForce ... Off | 00000000:02:00.0 N/A | N/A | | N/A 41C P0 N/A / N/A | 588MiB / 983MiB | N/A Default | | | | N/A | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=============================================================================| | No running processes found | +-----------------------------------------------------------------------------+ However, the version can be read more easily from the first line of the output of "nvidia-smi -h": NVIDIA System Management Interface -- v470.256.02 While this is the output of "nvidia-smi --format=csv,noheader --query-gpu=name,pci.bus_id,temperature.gpu": NVIDIA GeForce GT 730M, 00000000:02:00.0, 42
Nitrooo
Nitrooo-2 days ago
Alternatively, the GPU temperature can be read directly from the Nvidia driver. Here's some reference code: https://github.com/search?q=repo%3Avmatare%2Fthinkfan%20USE_NVML&type=code As a bonus, I can assume that this method is even more efficient than running a program every few seconds.
claudiux
claudiux-2 days ago
Ping @JEleniel
Paulo Candeias
Paulo Candeias-3 months ago
Hello @claudiux, thank you for your work. In my laptop, the information about disk temperature, fan speed and battery voltage does not show on mouseover tooltip when selected in the applet configuration, only the temperature in the PCI and ACPI adapters show. Maybe it is a bug or is it intentional?
claudiux
claudiux-3 months ago
Hello Paulo, Please open an issue with screenshots of your settings and tooltip.
Paulo Candeias
Paulo Candeias-3 months ago
Hello @claudiux, I just opened issue #6353 on GitHub. Looking forward to a solution.
philippki
philippki-4 months ago
Hi @claudiux, first of all thanks for the great applet, I've been using it for years without any problem! Unfortunately some months ago with an update a little bug has been introduced: I've set the fan speed to only show positive values so when the fan in my laptop doesn't spin, it wouldn't show anything. Ever since this one update (I'm sorry I can't tell which one, I was waiting too long before writing this comment) the value is stuck on the last value it displayed before the fan spun down completely. So it will display e.g. 3717 all the time until the fan spins up again or until I restart the applet which shows the expected behavior then (not displaying the fan speed). Hopefully it's an easy fix, if you need any information please let me know! (currently running 3.7.0 (2024-07-28 14:12:33) on Linux Mint 21.3 Cinnamon) Thanks in advance and keep up the great work!
claudiux
claudiux-3 months ago
Please try v3.8.0.
philippki
philippki-3 months ago
I'm sorry to report that v3.8.0 hasn't changed anything regarding displaying stuck fan speed :/
claudiux
claudiux-4 months ago
I'll have to test it on another computer; mine is fanless!
Mike Sesketcharba
Mike Sesketcharba-6 months ago
Hello Mr Developer! If you could add support for nvidia-smi, I would be extremely happy. Because you see, lm-sensors does not detect the temperature of my Nvidia GPU. That's all this applet need to go from good to perfect. Keep up the good work, Maintainer!
pegasusearl
pegasusearl-7 months ago
I don't understand how to use this applet. When I hover over the icon, it said, "it needs to be configured!" but configure what? I have installed xsensors like what the applet asked. Running xsensors will show me temperature in a window but it doesn't show in the applet! It only has icons and "it needs to be configured!" tooltip. Do I manually add sensor in the sensor list? I added k10temp which shown in the xsensors window to that list but it doesn't do anything.
claudiux
claudiux-7 months ago
Try to run in a terminal: `sudo sensors-detect` before configuring this applet.
pegasusearl
pegasusearl-7 months ago
I just did. Now if I pressed the "run xsensors" button it shows me more sensors than before (the available sensors previously is fine though), but it's still not clear on how I should make this applet works. In the temperature tab and "Temperature sensors" it's still empty. If I pressed add, there will be a completely empty form, but it's still not clear on what should I put there. I tried to put "CPUTIN" in the "Sensor name (Do not modify!!)" but the applet still only shows 4 icons and nothing else, and the tooltip still says, "Must be configured!". I also confused on the "do not modify!!" message, as it's just empty. Sorry, maybe I'm just an idiot but I'm surprised that anyone can figure out how to use this applet. This is the first time I'm confused on how to use temperature widget. I'm guessing that I should click on "Update display" or "Renew the list of sensors", and then there will be sensors generated in the table? And the "do not modify" message is for the sensors that are being generated from pressing said button. The buttons didn't do anything in my case unfortunately.
claudiux
claudiux-6 months ago
Do not try to put yourself new entries. In the Temperatures tab, check "Display the values of these selected sensors" then click the "Renew the list of sensors" button. Example: https://raw.githubusercontent.com/claudiux/docs/master/Sensors/screenshots/Sensors_Temp-tab.png
claudiux
claudiux-7 months ago
v3.7 From now on, you can choose whether or not to record values that exceed the limits in the system log. This option is available in each sensor-type tab of this applet's settings.
JackDawson2026
JackDawson2026-8 months ago
Now the applet loads faster than before and the tooltip too! everything works much better and smoothly than before,you are done a great work by fixing this bug,the applet work amazingly fast and great now, thank you so much!
claudiux
claudiux-8 months ago
That's right! Thanks again for suggesting that this error be corrected.
JackDawson2026
JackDawson2026-8 months ago
Thanks to you for making this amazing applet!
JackDawson2026
JackDawson2026-8 months ago
Thank you so much for fixing the bug! now the applet works perfect! you and this applet are amazing!
JackDawson2026
JackDawson2026-8 months ago
Hi,thanks for this amazing applet! I have one little problem,if I change the (Refresh interval) to more than 5 seconds the tooltip just don't appear anymore on mouse hover,it is a bug or something like that? because if I choose 5 minutes the tooltip don't appear,to make it visible i need to choose the (Refresh interval) in 5 seconds or less then go again and change it to 5 minutes,I hope you can correct this problem,thanks
claudiux
claudiux-8 months ago
v3.6.2 is for you. This bug was so easy to fix. Why didn't I do it sooner?
JackDawson2026
JackDawson2026-8 months ago
Thank you so much! I property test if this fix is working ok as soon as I am in home,thanks again!
JackDawson2025
JackDawson2025-8 months ago
Thank you so much for this amazing applet,could i please request a feature? if you please could,increase the value of (Refresh interval) to more than 60 seconds,lets just say 120 or 180 or more seconds please,thanks in advance
claudiux
claudiux-8 months ago
v3.6.1 is for you.
JackDawson2026
JackDawson2026-8 months ago
Hi,thanks for this amazing applet! I have one little problem,if I change the (Refresh interval) to more than 5 seconds the tooltip just don't appear anymore on mouse hover,it is a bug or something like that? because if I choose 5 minutes the tooltip don't appear,to make it visible i need to choose the (Refresh interval) in 5 seconds or less then go again and change it to 5 minutes,I hope you can correct this problem,thanks
JackDawson2025
JackDawson2025-8 months ago
Thank you so much! for filling my request! the applet and you are amazing! thanks again!
JackDawson2025
JackDawson2025-9 months ago
Hi,is there a way I could help you to make the changes I need? I like to contribute or help you with anything I can do,I will surely donate to you if I have some money,thank you for everything you do with this applet!
claudiux
claudiux-9 months ago
I don't expect any money, thank you. If you haven't already done so, please raise this applet's score to the top of this page.
JackDawson2025
JackDawson2025-9 months ago
of course I already do that,sorry to ask for so much features at once
alberbrando
alberbrando-9 months ago
Every time you update your applet you're getting perfection.Thanks for this amazing piece of software.
claudiux
claudiux-9 months ago
Thank you for your compliments. I'm glad you like this applet so much.
JackDawson2025
JackDawson2025-10 months ago
Thank you for this great applet,i have a problem i think its a bug,in disk temperature sensors,when i want to change the shown name of the tooltip always remains in the disc name sdc,for example if i want to change from sdc to HDD it remains in sdc no mater what i do,in temperature sensors of the CPU this not happen and work correctly in shown name,it let me changed from ACPI interface acpiz-acpi-0: temp 1 to just CPU,i hope it gets fixed soon,thanks in advance
JackDawson2025
JackDawson2025-10 months ago
it only gets momentarily fixed by activating the switch in the section Temperature-Display-Display the 'Shown Name' of each of these selected sensors,if the switch its off it only shows sdc
claudiux
claudiux-9 months ago
This is how the applet works. Could you please clarify your expectations? What changes would you like to see?
JackDawson2025
JackDawson2025-9 months ago
Thank you so much for explained that the applet work in this way,i could request a feature? if you please could,i would like to choose more variety of text colors,for example,blue or light blue,thanks in advance
claudiux
claudiux-9 months ago
v3.6.0 is for you!
JackDawson2025
JackDawson2025-9 months ago
I am so sorry,I asked too much,I am sure, sorry again
JackDawson2025
JackDawson2025-9 months ago
Thank you so much for filling my request so quickly! now the applet is perfect! thank you again!
JackDawson2025
JackDawson2025-9 months ago
Hi! sorry to bother you again,could you please add the feature to change the color in the toolbar and the color in the text of the tooltip (in the tooltip the text remains always white) when it reaches the state of high (orange) or critic (red) in the toolbar,if its not much work or trouble for you? a million thanks for your awesome and hard work,effort and dedication that you put in Sensors Moniior and in Multi-Core System Monitor!
claudiux
claudiux-9 months ago
Hello, the tooltip colors depend on the Cinnamon theme you've chosen.
JackDawson2025
JackDawson2025-9 months ago
Thank you so much for your answer!
JackDawson2025
JackDawson2025-9 months ago
Hi! sorry to bother you again,i am trying to match refresh intervals and make it equal to Hard Disk Sentinel for Hard Disk Temperature,the default refresh time in that software are 5 minutes equal to 300 seconds,in your applet the maximum time of refresh intervals in seconds in Sensors Monitor are 60 seconds equal to one minute,could you please increase the amount of time to choose 300 seconds equal to five minutes? this is my last request feature for now,i am so sorry for bother you to much and giving you so much work to do in this applet,again a million thanks for your awesome and hard work,effort and dedication that you put in Sensors Moniior and in Multi-Core System Monitor!
JackDawson2025
JackDawson2025-9 months ago
Hi! I forgot to ask that if the change of color in the text of the tooltip is possible,could you please make an option to change the color of the background of the tooltip also? for example text color blue,background of the tooltip white,now I don't have the chance to change it,the colors in the tooltip are,blue background and white text,thank you so much for everything you done in this Sensors Monitor excellent applet,excuse me for my previous typing errors,thank you so much again!
claudiux
claudiux-10 months ago
v3.5.0 is here. It improves the sub-processes to avoid screen stuttering.
claudiux
claudiux-11 months ago
v3.3.0 is here. From now on, the monospace font style is only used when size must be preserved.
claudiux
claudiux-11 months ago
v3.2.0 is here. You can now suspend this applet using its menu option.
alberbrando
alberbrando-1 year ago
Fisrt of all thank you for this great applet. Now a question: Is there a way to change the font type?? I have set my system to Open Sans Semicondensed and it doesn´t match with the font used in your applet.Thanks
claudiux
claudiux-11 months ago
Thanks for your kind comment. To change the font type, edit this applet's stylesheet.css file and modify each "font-family" field (which is set to "monospace" by default to avoid modifying the applet's width).
Nitrooo
Nitrooo-1 year ago
In ~/.xsession-errors I'm getting: [Sensors@claudiux]: Applet Sensors@claudiux: Could not create applet object. [Sensors@claudiux]: Error importing applet.js from Sensors@claudiux This probably started with 3.0.3, but I'm not sure. It used to work earlier. I tried deleting ~/.local/share/cinnamon/applets/Sensors@claudiux/applet.js, but that didn't help. Cinnamon 5.6.8, Manjaro Linux.
claudiux
claudiux-1 year ago
Hi Nitrooo, Please open an issue and tell me the complete error message (with several lines after "[Sensors@claudiux]: Error importing applet.js from Sensors@claudiux")
claudiux
claudiux-1 year ago
You shouldn't have deleted the applet.js file. Please delete this applet completely, then re-download it.
Nitrooo
Nitrooo-1 year ago
I managed to install 3.0.2. On default settings, it works. However, 3.0.2 still crashes after having copied my own applet.js. Version 3.0.3 crashes even on default settings, right after a fresh installation. I will open an issue later.
Nitrooo
Nitrooo-1 year ago
Yeah, what I actually did is I made a backup, deleted the file, uninstalled and reinstalled the applet. No luck. Is there any way I can install a previous version to see if the problem arises with 3.0.3?
claudiux
claudiux-1 year ago
I've found the source of the problem. I'll do a PR soon with the fix.
claudiux
claudiux-1 year ago
PR done. Waiting for validation.
claudiux
claudiux-1 year ago
v3.1.0 is here. Please test it.
claudiux
claudiux-1 year ago
Many thanks to @TimeWaster for its improvement: The user can now choose the separator to be displayed between values in the panel.
claudiux
claudiux-1 year ago
The 'double separator' error was fixed in v3.0.2. Coming soon.
claudiux
claudiux-1 year ago
v3.0.2 is here.
claudiux
claudiux-1 year ago
Version 3.0.0 of this Sensors Monitor applet is here! You can now define formulas and limit values for each sensor, if necessary. Enjoy it!
Alex Spurling
Alex Spurling-1 year ago
I have just installed Sensors 2.0.2 but I do not see any entries in the Temperature sensors list. Also, I do not see any button called "Renew the list of sensors" here which I can see in the screenshot at the top of this page. Is this because I have missed a step in the configuration or is it a problem with my system?
claudiux
claudiux-1 year ago
Please try with command: sensors Then, open an issue using the 'Issues' button at the top of this page. This is best suited for technical discussions.
Alex Spurling
Alex Spurling-1 year ago
Thanks, I have asked the same question in github.
claudiux
claudiux-1 year ago
Thank you! You've closed this issue. For all users: all you had to do was check the 'Display the values of these selected sensors' box in the Temperatures tab, then press the 'Renew the list of sensors' button twice, just long enough for the program to ' sensors' returns the first data... Regards. Claudiux
claudiux
claudiux-1 year ago
Sensors v2.0.2 is here! The bug reported by Pedro Nuno Santos is now fixed. Enjoy it!
elmarvotri
elmarvotri-1 year ago
Cinnamon 21.1 here and runs smoothly. I have one issue, icon only for Temperature Sensors, the others I get a blank square. Maybe my miss configuration, but cannot solve this with my actual level of expertise on Linux.
claudiux
claudiux-1 year ago
Are the Symbola fonts installed? For Linux Mint, Ubuntu or Debian: `sudo apt-get install fonts-symbola` For Fedora: `sudo dnf install gdouros-symbola-fonts` On Arch: `~/.local/share/cinnamon/applets/Sensors@claudiux/scripts/install_symbola_on_Arch.sh` Then, reload this applet or restart Cinnamon.
Pedro Nuno Santos
Hello I think 2.0.1 has a "regression" - I have my fan RPMs showing on the tooltip only (and temp on panel + tooltip) and the "|" divisor is being added to the panel even though there's only a single temp value being displayed. If I disable the fan the divisor on the panel goes away but so will the tooltip value. I'm on 21.0 (haven't yet updated to 21.1)
claudiux
claudiux-1 year ago
Hello Pedro, I see. I'll try to fix this issue soon. Thanks for your message.
claudiux
claudiux-1 year ago
Issue fixed! Please wait for update.
claudiux
claudiux-1 year ago
It's been at least 3 weeks since the Cinnamon team no longer validated any PR. In the meantime, here is the link to the new applet.js file: https://github.com/linuxmint/cinnamon-spices-applets/blob/4e98d5a6f84707a6811efded52b062052a533ba2/Sensors%40claudiux/files/Sensors%40claudiux/applet.js
claudiux
claudiux-1 year ago
Sensors v2.0.1 is coming. Please wait for update.
iznobe
iznobe-2 years ago
Bonjour claudius et bon weekend . * pour : 'sudo sensors-detect' et répondre 'y' à toutes les questions ; puis re-démarrer l'ordi. je l' avais deja fait plusieurs fois , sans changement notable . * pour : Pour les températures de disques durs internes (pas via port USB) : 'sudo modprobe drivetemp'. Si ça fonctionne, ajouter la ligne 'drivetemp' à la fin du fichier /etc/modules. c' est fait , mais je ne sais pas si cela a fonctionné ou pas car le retour de la commande etait vide , aucune erreur , donc je dirais que ca a fonctionné . j ' ai donc passé ensuite : 'echo drivetemp | sudo tee -a /etc/modules' pour finir , j' ai passé : 'sudo /etc/init.d/kmod start' et redemarrer . maintenant , j' ai donc fait un screen vite fait : https://zupimages.net/up/22/48/c38j.png ca a donc bien fonctionné pour les disques internes . je trouve que c ' est compliqué pour s ' y retrouver , je ne sais pas quel capteur correspond a quel disque : 'iznobe@iznobe-PC:~$ lsblk -fe7 -o+model NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS MODEL sda ST4000VX000-2AG166 ├─sda1 ext4 1.0 Seagate_4T 4f8cc284-cd84-4eeb-b412-7539f81664c4 └─sda4 ext3 1.0 ubuntu_22.10 89f71135-b459-4c74-bfa3-e9d27df4369d sdb WDC WD82PURZ-85TEUY0 ├─sdb1 ext4 1.0 WD8 1db8a5b3-ff12-4d31-9463-b188ffefe43b 1,2T 82% /mnt/DATAS/Vidéos/WD8 └─sdb2 ext4 1.0 SAUV d9dc9f4e-a24a-4573-9465-13711480f272 sdc TOSHIBA HDWD130 ├─sdc3 ext4 1.0 datas 01c9b796-0869-4ff9-a2a1-6c0f56ed5257 2T 26% /datas └─sdc4 swap 1 61218fe2-0bd1-4ada-9dd3-5ec996a02456 [SWAP] sdd WDC WD8001PURP-85B6RY0 └─sdd1 ext4 1.0 WD8PRO1 6298e7b7-7e63-4f5c-8216-ab1f70a1876d 6,6T 9% /media/WD8PRO1 sde WDC WD8001PURP-85B6RY0 └─sde1 ext4 1.0 WD8PRO2 084604bc-1b9e-4cdd-bae4-ac9a9fe1303f 6,9T 4% /mnt/DATAS/Vidéos/WD8PRO2 zram0 [SWAP] nvme0n1 ADATA SX8200PNP ├─nvme0n1p1 ntfs windows_10 08CCB0D8CCB0C0EC ├─nvme0n1p2 ntfs E49A115A9A112B16 ├─nvme0n1p3 vfat FAT32 SSD_EFI_WIN C071-9050 59,6M 38% /boot/efi ├─nvme0n1p4 ntfs 0E52DDB352DD9FAF ├─nvme0n1p5 ext4 1.0 LM_21_SSD eb18366b-2ac9-4a7e-8f93-ba2caa30e90e 5,8G 76% / ├─nvme0n1p6 ext4 1.0 ubuntu_18_SSD 06bc0f51-50e8-4ed4-8090-903acdb7df3f ├─nvme0n1p7 ext4 1.0 budgie_SSD 8ab22881-60b3-47aa-a0bf-54c292afae81 ├─nvme0n1p8 ext4 1.0 ubuntu_20.04_SSD dca54497-1ab2-4c12-bc82-53b817300288 └─nvme0n1p9 ext4 1.0 LM_SSD_NEW df3cd676-80e7-46ef-a28e-5dbe3ea5ddf7 iznobe@iznobe-PC:~$'
iznobe
iznobe-2 years ago
Salut claudiux , je viens de voir que l' on est voisin :D ca fait longtemps que j' utilise l ' applet precedent et maintenant celui-ci , sauf que je n ' arrive pas a afficher les vitesses de ventilateurs et les tensions sur le nouvel applet . J ' ai bien lu que ca pouvait venir de plusieurs choses , comme le noyau ou d' autres choses . Je me demandais juste comment investiguer pour en avoir le coeur net avec ce qui cloche sur mon sintallation et savoir si il y a moyen de corriger ou si il est impossible d ' avoir plus d' infos a ce sujet . Merci pour cet excellent travail en tout cas , c ' est toujours utile de monitorer son ordi . Bonne soirée et au plaisir .
claudiux
claudiux-2 years ago
Salut voisin :) Pour les tensions et les vitesses de ventilateurs, il faut tenter un : 'sudo sensors-detect' et répondre 'y' à toutes les questions ; puis re-démarrer l'ordi. Pour les températures de disques durs internes (pas via port USB) : 'sudo modprobe drivetemp'. Si ça fonctionne, ajouter la ligne 'drivetemp' à la fin du fichier /etc/modules. Pour les températures de disques durs internes comme externes (via port USB) : 'echo "%sudo ALL = NOPASSWD: /usr/sbin/smartctl" | sudo tee /etc/sudoers.d/smartctl' Ensuite quitter sa session puis la rejoindre.
rdlf4
rdlf4-2 years ago
One thing that I noticed is the background colors that will switch from red to orange. Only problem is, on Linux Mint 20.1 with the officially supported Linux Kernel v 5.4.0-90, Sensors will show up in red when my temperature is in the upper 40s up to the lower 60s and then in yellow for anything above that. After switching to another kernel (Xanmod), this applet behaves as it should: no background color for temps in the lower 50s and then it changes the color for upper 60s or above that. So if the applet can't get the colors done right, at least give us the option to tweak it our way, if possible. That isn't a dealbreaker though. The only letdown for me is the lack of disk temperature readouts, which is a shame. KDE can get that done out of the box and on Cinnamon, the Disks application shows that, so why can't Sensors do the same?
claudiux
claudiux-2 years ago
Hi @rflf4, The latest version of Sensors (2.0.0) is able to display disk temperatures.
rdlf4
rdlf4-1 year ago
Hi @claudiux That might not be the case anymore. No matter what I do, your applet is being really stubborn. In Temperature, scrolling down to Temperature Scripts, and upon clicking on 'renew the list of known disks', it displays two rows (sda and sdb), which is correct. But that's it. Disk temperatures never make it to the panel. 'Update display' does nothing. 'Show in panel' next to 'disk name' is checked. It's almost as if the applet is completely ignoring whatever is set under 'Temperature script'. Care to have a look? 2.0.1 here.
Swaphelaer
Swaphelaer-3 years ago
It doesn't show/find my CPU temp... The app said to disable : CPU Temperature Indicator (temperature@fevimu) which *did* show the CPU-temp. Could this be added so I have only 1 applet for all temps ? (GPU-temps would be an added benefit BTW :-) )
Swaphelaer
Swaphelaer-3 years ago
A reboot was needed to load the .conf Maybe you could add that to the FAQ ? So I do have a lot more to choose from although I still don't see the CPU/Cores. Might have to dive into this file (which should be correct for my MoBo) to see what else can be done. Still GPU (NVidia in my case) would be nice
Nik
Nik-3 years ago
Tried this app, but it gives me an odd warning: "This applet contains function calls that could potentially cause Cinnamon to Crash or freeze. If you are experiencing crashes or freezing, please try removing it." Still, I tried setting it up, and couldn't really get it working right. It's a bit too complicated and too many features for my taste. Personally, I like your CPU Temperature Indicator applet better. It's simpler, and that's the only number I'm looking for anyway. I like things that do 1 thing well. ;)
arehtykitna
arehtykitna-4 years ago
Works nicely on my Fujitsu LIFEBOOK-A512 with LMDE4. I was using the old fevimu applet and noticed your comment about no longer maintaining it so switched to this instead.
claudiux
claudiux-4 years ago
The version 1.4.0 of Sensors@claudiux is here! It is now fully compatible with Cinnamon 3.8, 4.0, 4.2, 4.4 and 4.6. Enjoy it!
Mark Wilber
Mark Wilber-4 years ago
Hi @claudiux. I have a Lenovo IdeaPad Y500, running Cinnamon 4.0.10, on top of Fedora 29 (yep), kernel 5.3.11-100. I have lmsensors and xsensors installed. Run from the command line 'sensors' works perfectly well, reporting temperatures for each of my 4 cores. Similarly, xsensors pops up a window with the same information. I've installed your cinnamon app, but it fails to load into the panel. When I select configuration and the 'General' tab, the buttons 'Example of sensor values from this computer' and 'Run xsensors' produce no output. When I press one of those buttons I get output like cinnamon[2542]: JS ERROR: Exception in method call: activateCallback: TypeError: obj is null CinnamonDBus.prototype.activateCallback@/usr/share/cinnamon/js/ui/cinnamonDBus.js:349:13 _handleMethodCall@resource:///org/cinnamon/cjs/modules/overrides/Gio.js:256:22 _wrapJSObject/<@resource:///org/cinnamon/cjs/modules/overrides/Gio.js:326:16 I don't know what to make of this. Any suggestions? Any required libraries that are not installed by default on a Fedora system?
claudiux
claudiux-4 years ago
Hi @mw0, I just installed Fedora 29 (!) on a very old machine (2007!). This applet works fine, except the direct links to setting-tabs that are in the menu (Temperature sensors, etc...). A new version is coming soon. I'm searching about any required library...
claudiux
claudiux-4 years ago
All works fine now, with version 1.4.0 of Sensors@claudiux.
claudiux
claudiux-4 years ago
Hi Mark, Can you open an issue, please? (See "How to report an issue or make a feature request?" above.) I will certainly have a lot of questions for you... Regards. Claudiux
claudiux
claudiux-4 years ago
Version 1.1.0 is here, with features requested by @pnsantos. Enjoy it!
Pedro Nuno Santos
Pedro Nuno Santos-4 years ago
Hey @claudiux thx for the quick turn around! However something seems to have gone wrong with the upload/publishing. The applet manager showed a new version available, but after I ran the update it was still 1.0.0 I tried removing and re-installing and now it's showing the icon saying "Something went wrong while loading Sensors@claudiux (...)" Also if I download it from the spices site I get a zip with 1.0.0 inside even though the page says: Last edited: 4 hours ago 2020-09-24, 09:07 Last commit: [bf2f3ea1] v1.1.0: Update README.md (#3232)
claudiux
claudiux-4 years ago
Hey Pedro, Try to download the zip with this link: https://cinnamon-spices.linuxmint.com/files/applets/Sensors@claudiux.zip?85ad0310-97d2-4ec0-a2bf-a968f7b2b0f0 or install this applet using Spices Update.
Pedro Nuno Santos
Pedro Nuno Santos-4 years ago
Thx, that worked perfectly! nice!
Pedro Nuno Santos
Pedro Nuno Santos-4 years ago
Hey Claudiux, First off, thanks for this applet, nice work! Been a long-time user of the previous CPU monitor and today I tried out this one towards replacing the former. Have a couple of nitpicks/suggestions if you are open to feedback: - The applet seems to have a border line around it (https://postimg.cc/vDjs5C3p) would it be possible to remove it or at least make it optional? - Do you think it's feasible to make the temperature icon be optional (have the ability to hide it). When showing the unit it's kinda obvious what the measurement is so the icon is sort of redundant (same applies to the icons on the tool tip, both the custom names and units make the icons redundant) Hope you don't mind the feedback - again thanks for all your work :-)
claudiux
claudiux-4 years ago
Hey Pedro, Thank you for your feedback. I will take into account your feature requests. Next version is coming soon. Regards. Claudiux