Overheating after installing ubuntu 18.04

I installed ubuntu 18.04 after that my laptop getting hot near touchpad.I installed tlp but it didn't help.


Getting hot near touchpad might mean your Hard Disk is overheating. It is more common in machines having 2GB or less RAM.

Step 1 (Decrease Swap Usage):

Open the Terminal and run:

sudo -i gedit /etc/sysctl.conf

Scroll to the bottom of the texts, create a newline and paste the following two lines:

# Decrease swap usage to a more reasonable level
vm.swappiness=10

Save the file and reboot the machine.

Step 2 (Enable HDD Spindown):

Download and open Disks (gnome-disk-utility) app. Click the cogwheel icon on the top right and select "Drive Settings".

Active Standby. Grab the slider of the “Standby Timeout Setting” and increase it to 20 minutes. Click OK button and give password to authorize the operation.

Go to the next (APM) tab. Active “Apply Advanced Power Management Settings”. Make sure APM level is not more than 127. Select OK and authorize the action using administrator password.