Skip to content

wiiznokes/fan-control

Repository files navigation

fan-control

Download on Flathub   Download on Github release  

Features

  • Display sensors data on real time
  • Control fans based on custom behaviors
  • Save configuration
  • Multiplatform (Linux/Windows)

screenshot of fan-control

Usage

  • You can add items with the buttons on the right of the app.
  • To save a configuration, write a name in the "Configuration name" field, and click on the +.
  • To modify the value of a fan, you must select it in a Control item (the left column), select a Behavior, and activate the swtich.

Installation

Linux

Flatpak Version

If you're using the Flatpak version of the application, you'll need to install the required udev rules first. Then, you can use/install the app from Flathub.

The configuration file for the Flatpak version will be located at: ~/.var/app/io.github.wiiznokes.fan-control/config/fan-control/.


To ensure the application detects the maximum number of sensors, follow these steps:

  1. Install lm-sensors
    For Debian-based systems, run: sudo apt install lm-sensors
    For Fedora-based systems, run: sudo dnf install lm_sensors
  2. Run Hardware Detection Script
    After installing lm-sensors, execute the following command to detect the available hardware sensors: sudo sensors-detect
Windows

The configuration file can be found in C:\Users\wiiz\AppData\Roaming\wiiznokes\fan-control\config.

Repo structure

  • hardware: define an abstraction around the hardware.
  • data: define structures used in the app (Node, Config), and there logic. Depend on hardware
  • ui: implement the UI. Depend on data and hardware
  • the app: integrate all this crates in one executable

Build

See instructions here.

Contributing

See CONTRIBUTING.md