sysinfo-net-w-temp.py
This script is an updated version of the one that the MiniTower ships with. It displays the CPU temperature on the top line instead of the load averages.
To use this script, on the MiniTower.
- Git the new script, make it executable, then copy it over to the correct directory:
wget https://raw.githubusercontent.com/cryptomiles-dev/Kali_MiniTower/refs/heads/main/Scripts/sysinfo-net-w-temp.py
chmod +x sysinfo-net-w-temp.py
sudo cp sysinfo-net-w-temp.py /usr/local/minitower
- Edit the service file to run the new script instead of the current one:
sudo nano /etc/systemd/system/minitower_oled.service
Change the following line:
ExecStart=sudo /bin/bash -c '/usr/bin/python3 /usr/local/minitower/sysinfo-net-w-temp.py'
Change only sysinfo-net.py
to sysinfo-net-w-temp.py
The line should look like this. You can copy and paste it. The tick marks are included
ExecStart=sudo /bin/bash -c '/usr/bin/python3 /usr/local/minitower/sysinfo-net-w-temp.py'
- Reload the
systemctl
daemonsudo systemctl daemon-reload
Start theminitower_oled
servicesudo systemctl start minitower_oled.service
Just to be certain make sure it is enabled (starts at boot)sudo systemctl enable minitower_oled.service