zocker-160 / thinkfan-ui

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Thinkfan UI

Screenshot

This is a complete rewrite of 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

Debian / Ubuntu

  • Download .deb from release page
  • Install using package manager of your choice or in terminal with apt install ./<packagename>.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)

About

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

License:GNU General Public License v3.0


Languages

Language:Python 93.9%Language:Shell 6.1%