Ubuntu - Hot to bind an action to perform when high CPU temperature in Ubuntu?

0

Im using Kubuntu 13.04 - by default it just shutdown system, and I want to set it to suspend, to avoid loss of work progress.

How can I do this?

Gill Bates

Posted 2013-09-16T06:36:55.640

Reputation: 155

Answers

1

I believe this is answered in this question, and in this one as well.

Basically, if you PC overheats and automatically shuts down, this is due to the internal protection from the BIOS, so you won't be able to change this.

What you will be able to do is, either adjust the CPU frequency when the CPU is too hot or suspend or shutdown the PC gracefully, using shutdown -h now for example.

You can do this by running a cron job every minute, or using something like computertemp, as suggested by Alexander Burke on the second linked answer.

If it overheats, it is maybe time to clean your PC!

Léo Lam

Posted 2013-09-16T06:36:55.640

Reputation: 69