To control the fan speed and get the CPU temperature on a Dell laptop running Linux, you can use the lm-sensors and fancontrol packages. Here are the steps to install and configure them:
- Install the
lm-sensorsandfancontrolpackages by running the following command in the terminal:
sudo apt-get install lm-sensors fancontrol
- Run the following command to detect the installed sensors:
sudo sensors-detect
- Follow the prompts to set up the sensors.
- Run the following command to start the
fancontroldaemon:
sudo systemctl start fancontrol
- To check the CPU temperature, you can use the
sensorscommand:
sensors
This will display the temperature readings of all sensors in your system, including the CPU temperature.
Note: The exact steps to control the fan speed may vary depending on your specific Dell laptop model and Linux distribution. You may need to consult the laptop’s manual or the distribution’s documentation for more information.