11

Is there a way to set an alarm or something for when my Ubuntu computer is about to overheat?

My computer has some temperature issues, so when it's about to overheat I'd like to turn on an external fan.

Pablo Bianchi
  • 15,657
Jeroen
  • 443
  • 3
  • 10
  • 25
  • 4
    You really should fix the problem at the source; it shouldn't be overheating in the first place. Make sure your internal fans are spinning correctly, ports are not clogged with dust, and if needed, remove, clean, and reseat the heatsink with fresh thermal grease. – psusi Mar 11 '14 at 22:12
  • @psusi The machine is getting old and I'm constantly running it in boost. – Jeroen Mar 11 '14 at 22:13

2 Answers2

15

You can use psensor to monitor the computer temperature. This is a GUI application that readout the CPU and Mainboard sensors.

sudo apt-get install psensor 

After starting psensor, go to the "Sensor preference Menu", choose your CPU sensor and click on Alarm - Activate Desktop Notifications. You can modify the temperature limit for your needs:

screenshot

Can also start after login:

screenshot

Pablo Bianchi
  • 15,657
Oliver G.
  • 496
  • 4
  • 11
5

System-monitor GNOME extension

You also have system-monitor:

screenshot

And choose your threshold

screenshot

AFAIK it just changes the temperature color. No notification or acoustic alarm. There is a feature request about this issue.

Pablo Bianchi
  • 15,657