An open API service indexing awesome lists of open source software.

https://github.com/zocker-160/thinkfan-ui

A small gui app for Linux to control the fan speed and monitor temps on a ThinkPad
https://github.com/zocker-160/thinkfan-ui

Last synced: about 1 year ago
JSON representation

A small gui app for Linux to control the fan speed and monitor temps on a ThinkPad

Awesome Lists containing this project

README

          

# ![](images/thinkfan-icon.png) Thinkfan UI

![Screenshot](images/Screenshot_20210721_213215.png)

This is a complete rewrite of [scientifichackers/thinkfan-control-gui](https://github.com/scientifichackers/thinkfan-control-gui) using PyQt5.

This is an application for controlling fan speed on IBM/Lenovo ThinkPads.

It can also monitor CPU temp and fan RPM.

It is written for **Linux only**. For Windows, see http://www.almico.com/speedfan.php

## How it Works?

- Parses `sensors` command to show CPU temp
- Modifies `/proc/acpi/ibm/fan` to change fan speed

## CLI Arguments

- `--no-tray` disables tray icon
- `--hide` hides main window on start

## Dependencies

`sudo apt install lm-sensors policykit-1 python3 python3-pyqt5`

## Install

### Arch / Manjaro

Package is available in the AUR: [thinkfan-ui](https://aur.archlinux.org/packages/thinkfan-ui/)

### Debian / Ubuntu

- Download `.deb` from [release page](https://github.com/zocker-160/thinkfan-ui/releases)
- Install using package manager of your choice or in terminal with `apt install ./.deb`

### Manual

- Open this file, using command -- `sudo nano /etc/modprobe.d/thinkpad_acpi.conf`
- Add line `options thinkpad_acpi fan_control=1`
- Reboot
- clone this repository and navigate to the `src` folder
- run `python3 fan.py`

---

Note: You are required to have the Linux kernel with `thinkpad-acpi` patch. (Ubuntu, Solus and a few others already seem to have this)