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
- Host: GitHub
- URL: https://github.com/zocker-160/thinkfan-ui
- Owner: zocker-160
- License: gpl-3.0
- Created: 2021-02-25T18:25:50.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-11T21:39:50.000Z (about 2 years ago)
- Last Synced: 2025-04-30T14:27:58.641Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 174 KB
- Stars: 108
- Watchers: 8
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#  Thinkfan UI

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)