Published on

linux acpi: Show thermal information in Fahrenheit



3 min read


The Linux ACPI (Advanced Configuration and Power Interface) provides a wide range of information about a system's hardware, including thermal information. By default, the thermal information provided by Linux ACPI is in Celsius. However, if you prefer to have the temperature displayed in Fahrenheit, there are a few simple steps you can follow. In this article, we will guide you through the process of showing thermal information in Fahrenheit on a Linux system.

To begin, open a terminal and start by installing the necessary packages. You will need the acpi package and a text editor of your choice. You can install the acpi package using the package manager of your Linux distribution. For example, on Ubuntu, you can use the following command:

sudo apt-get install acpi

Once the acpi package is installed, you can proceed to modify the ACPI thermal zone configuration files. These files are located in the /etc/acpi/thermal_zone directory. Open the configuration file corresponding to the thermal zone you want to modify using your preferred text editor. For example, if you want to modify the configuration for thermal zone 0, you can use the following command:

sudo nano /etc/acpi/thermal_zone/THRM/thermal_zone.conf

Within the configuration file, you will find a line that specifies the format for displaying the temperature. By default, the format is set to Celsius. To change it to Fahrenheit, simply replace the existing format with the following line:

format = "%f °F"

Save the changes and exit the text editor. Now, you need to restart the ACPI thermal service for the changes to take effect. You can do this by using the following command:

sudo systemctl restart acpid.service

After restarting the ACPI service, you can check the thermal information by using the acpi command followed by the thermal zone number. For example, to get the thermal information for zone 0, you can use the following command:

acpi -t 0

The output will now display the thermal information in Fahrenheit.

That's it! You have successfully configured Linux ACPI to show thermal information in Fahrenheit. Remember that modifying the thermal zone configuration files allows you to customize the format and other settings to suit your preferences. Experiment with different formats and have fun exploring the possibilities!


In this article, we have learned how to configure Linux ACPI to show thermal information in Fahrenheit. By modifying the thermal zone configuration files and specifying the desired format, you can customize how the temperature is displayed. This simple adjustment allows you to have a more personalized experience when monitoring your system's temperatures. Keep in mind that the steps outlined here may vary slightly depending on your Linux distribution, but the general idea remains the same. We hope this article has been helpful, and we encourage you to continue exploring the possibilities of Linux ACPI customization. Enjoy your newfound knowledge and stay cool!