A simple shell script that just displays temperature of GPU and CPU. It was tested on Raspberry Pi 3, but it should work on Raspberry Pi 2 as well.
# you should be able to build and run SDL2-based software on your # Pi. Standard configure scripts should be able to find SDL and ...