AstroPi3
AstroPi3 copied to clipboard
Temp display in conkyrc
Hi, My system is based off of your SBC script. I'm not quite up to submitting pull requests, but for me on Ubuntu 22.04 the current conky display of CPU temperature doesn't work on my Odroid-N2.
changing line 61 of .conkyrc from
$font${color DimGray}Temp: $alignr ${exec /opt/vc/bin/vcgencmd measure_temp | cut -c6-9} C
to
$font${color DimGray}Temp: $alignr ${exec sensors | cut -c 16-19 -n | head -n 3 | tail -n 1} C
seems to fix it for me.
Thanks Jerry Black
I guess the problem here is that not all the systems will have the same programs installed that can get the temperature. maybe a good option would be to provide your solution with a note and comment it out so that they can enable if if needed on their system. Or I can try your solution on some of my SBCs as well to see if it is more universal.