This branch is deprecated and might not work properly.
The project is being reforged with customtkinter.
fw-fanctrl GUI is a simple multiplatform customtkinter python GUI to interact with the fw-fanctrl CLI.
It includes a basic GUI, as well as a system tray to easily change your fan profiles on the go.
⚠️ Important information⚠️ This project currently is in its early stage of development, is not complete yet and may be unstable or broken on certain platforms at any given point.
Here are the currently supported features:
- System tray
- Background launch
- Selecting/displaying the current strategy
- Resetting to the default strategy
- Reloading the service configuration
- Pausing/resuming the service
Here is the feature plan for the foreseeable future:
- Error handling
- Selecting the default strategy
- Enabling and selecting the discharging strategy
- Strategy edition
- Strategy creation
Name | Version | Url |
---|---|---|
Python | >= 3.12.x | https://www.python.org/downloads |
Before installing the GUI, make sure have installed the latest version of the fw-fanctrl CLI.
Name | Version | Url |
---|---|---|
TamtamHero@fw-fanctrl | >= 1.0.1 | https://github.com/TamtamHero/fw-fanctrl |
Download the repo and extract it manually, or download/clone it with the appropriate tools:
unix
git clone "https://github.com/leopoldhub/fw-fanctrl-gui.git"
curl -L "https://github.com/leopoldhub/fw-fanctrl-gui/archive/refs/heads/master.zip" -o "./fw-fanctrl-gui.zip" && unzip "./fw-fanctrl-gui.zip" -d "./fw-fanctrl-gui" && rm -rf "./fw-fanctrl-gui.zip"
Then run the installation script with administrator privileges
sudo ./install.sh
You can add a number of arguments to the installation command to suit your needs
argument | description |
---|---|
--dest-dir <installation destination directory (defaults to /)> |
specify an installation destination directory |
--prefix-dir <installation prefix directory (defaults to /usr)> |
specify an installation prefix directory |
--no-pip-install |
disable the pip installation (should be done manually instead) |
To run the application, use the following command
fw-fanctrl-gui
Here are the additional options you can use
Option | Optional | Description |
---|---|---|
--background, -b | yes | run the application in the background. does not open the main window |
To update, you can download or pull the appropriate branch from this repository, and run the installation script again.
To uninstall, run the installation script with the --remove
argument, as well as other
corresponding arguments if necessary
sudo ./install.sh --remove
It is recommended to use a virtual environment to install development dependencies
Install the development dependencies with the following command:
pip install -e ".[dev]"
The project uses the black formatter.
Please format your contributions before commiting them.
python -m black .