ThinkFan Control GUI
September 07, 2024
A small GTK4 desktop app written in Rust for controlling the fan on ThinkPad laptops. It gives you three buttons: INCREASE, DECREASE, and AUTO. With them, you can manually set the fan level from 0 to 7 or hand control back to the firmware. The app also shows the current RPM and fan level updated live every second.
No daemon needed. It talks directly to the Linux kernel through /proc/acpi/ibm/fan, reading the current state and writing speed changes straight to that file. Needs sudo to change fan speed and a one-line kernel module config to unlock fan control.
This is a fork of an earlier Python/Tkinter version, rewritten in Rust.
Stack: Rust, GTK4, glib.
Technologies: Rust, GTK4