Install cpufrequtils:
sudo apt-get install cpufrequtils
Go to terminal and type:
cpufreq-info
If your laptop is running intel_pstate, we have to disable that.
In terminal:
sudo gedit /etc/default/grub
And edit this line so it looks like this:
GRUB_CMDLINE_LINUX_DEFAULT="intel_pstate=disable quiet splash"
Then, reboot, and type this in terminal:
sudo cpufreq-set -g ondemand
What this command does is set a governor that controls the CPU based on load. Therefore, if you aren't running many intensive programs, your CPU will idle at a lower clock speed, thereby using less power and using less heat.
Now, if this doesn't work, we can try to manually control your fans. It is unlikely you will be able to control them, as you have a consumer laptop that is relatively recent- there probably aren't drivers for the fans.
sudo apt-get lm-sensors
See if your fan is there, with its RPM reading. If it is, then we can control the fan.
See this thread for more information: How to control fan speed?
Ctrl
+Alt
+T
and typecat /sys/class/thermal/thermal_zone*/temp
and update your question with the results. – WinEunuuchs2Unix Oct 01 '16 at 01:01cat /sys/class/thermal/thermal_zone*/temp
, this command is really magic, the fan auto-control program of my laptop didn't work, but I found this command can trigger the detection of the problem. So, with running this command regularly, the fan auto-control program starts to work. Cannot figure out why, maybe the program doesn't flush the result to these files, andcat
will force the program to flush the result. – Wenmin Wu Feb 15 '21 at 15:17