Ubuntu CPU/GPU Temperature Sensor

Run this code to install the sensor package and the applet.

sudo apt-get install libsensors3 sensors-applet


Then run:

sudo sensors-detect

This will probe your hardware for sensors.

Next, add the applet to your ubuntu bar by right clicking on the bar and clicking "Add to Panel". Finally add the applet called "Computer Temperature Monitor".

You should now have a temperature indicator in your ubuntu bar! There are further options if you right click on the indicator and edit "preferences".