1.) First, open your console.
2.) Type acpi -t. This way you will see which sensors you can grab the temperatures from. You will get an output looking something like this:
Thermal 0: ok, 55.0 degrees C
Thermal 1: ok, 35.4 degrees C
Thermal 2: ok, 50.0 degrees C
Thermal 3: ok, 58.0 degrees C
Thermal 4: active, 60.0 degrees C
3.) Decide which thermal sensor you want the temperature from. In my case I found out the cpu was "Thermal 3". Now we are gonna sort out this line.
4.) Type: acpi -t | grep "Thermal 3". You should now get only the Thermal 3 line. So far so good. Now we need to sort out only the temperature, using "cut".
5.) Type: acpi -t | grep "Thermal 3" | cut -c16-19. The -c
6.) When you've made the correct command line, add it to your conkyrc like this:
${execi 1 acpi -t | grep "Thermal 3" | cut -c16-19}C
No comments:
Post a Comment