Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.37 KB

Add-CPU-Temp-To-OLED-Display.md

File metadata and controls

35 lines (25 loc) · 1.37 KB

Change the OLED display to show CPU temp. on the top line

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.

  1. 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  
  1. 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'

  1. Reload the systemctl daemon sudo systemctl daemon-reload Start the minitower_oled service sudo systemctl start minitower_oled.service Just to be certain make sure it is enabled (starts at boot) sudo systemctl enable minitower_oled.service