To read the temperature under linux: automatic: 1) install lm_sensors 2) run sensors-detect (always answer yes) 3) run sensors manual: 1) go to /sys/class/hwmon/ 2) read the files under ./hwmon{0..n}/name to determine which device temperature we are reading 3) finally read the file ./hwmon{0..n}/temp{1..n}_input to get the current temperaturie Resources: https://github.com/dylanaraps/neofetch/blob/master/neofetch https://wiki.archlinux.org/index.php/Fan_speed_control#AMDGPU_sysfs_fan_control