11-12-2019, 12:21 PM
You can get the temps for cpu from "/sys/class/thermal/thermal_zone0/temp" and gpu from "/sys/class/thermal/thermal_zone1/temp"
If you want the temps in mate panel you can create a script something like this:
Make it executable and put in "/usr/local/bin" and then add "Command Applet" in the panel and set it to execute your script.
If you want the temps in mate panel you can create a script something like this:
Code:
#!/bin/bash
cpu=$(cat /sys/class/thermal/thermal_zone0/temp)
gpu=$(cat /sys/class/thermal/thermal_zone1/temp)
echo CPU ${cpu::2}C '|' GPU ${gpu::2}C
Make it executable and put in "/usr/local/bin" and then add "Command Applet" in the panel and set it to execute your script.