It was originally made so I could, on Wayland, control my NVIDIA GPU fans.
It is a lightweight and easy to use script. It works on Xorg, too.
It automatically changes the speed of your NVIDIA GPU fan(s), depending on the GPU temperature.
It is configurable and should be adapted to your environment.
There are two systems to limit useless and repeated changes, enabled per default.
Logs are outputted to stdout, per default in color according to their importance.
For now, that is all!
It uses the nvidia-settings
command.
On Debian, this command comes from the nvidia-settings
package. This may differ depending on your distribution.
To launch it, you will also need root permission and a shell.
And... that's all. In fact, you don't even need Bash! If you prefer to use Dash, or any other POSIX-compliant shell, it should work on it!
- Go here and click on
Wayvifan.sh
to download it. - Open the file with your favorite text editor and configure it to your liking. Explanations and present, and you only really need to modify a single line.
- Open a terminal and go to where the file is located. Alternatively, use your file browser to go where the file is and open a terminal from there
- Make the file executable with
chmod +x Wayvifan.sh
- Execute with
./Wayvifan.sh
. You may need to enter your password so the script gains the right to control your GPU fan(s).
Alternatively, you can download the source code and either build (cough) Wayvifan.sh
by running build.sh
, or directly run main.sh
.
I am, you can too.
As it is still in a quite early stage, a lot could be added to make it more feature-rich and even easier to use.
Still, it works and could be good enough for you already.
An FAQ is available.