Skip to content
Matt Heck edited this page Jun 14, 2018 · 20 revisions

Windows

  1. Run the NBFC installer
  2. Start NoteBook FanControl.exe (by default located in C:\Program Files (x86)\NoteBook FanControl)
  3. Select a config. As soon as you hit the apply button, NBFC should take control over your notebook’s fans.

There is no additional configuration required. The NBFC service will start automatically. If you want to adjust the selected config according to your needs, edit it in the Config Editor. The various settings are explained here: Structure of a NBFC config file

Linux

Prerequisites

NBFC uses Mono for .NET support on Linux, so you will need to install Mono's runtime and development materials.

Ubuntu

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list sudo apt-get update

Fedora / CentOS / RHEL / Scientific Linux

For 2018 and later versions, use: sudo dnf install mono mono-devel

For older versions, use: sudo yum install mono mono-devel

IMPORTANT

Recent RedHat/Fedora family operating systems have significantly locked down the way signing certificates are managed, and this will break part of the build script if it is run without superuser privileges. Since running an entire build "sudo" is a good way to find hell without a map, you should do this instead, prior to building:

sudo cert-sync /etc/pki/tls/certs/ca-bundle.crt

Building

Simply run ./build.sh to build.

Installation

  1. After you have built NBFC, copy the files from nbfc/Linux/bin/ReleaseLinux/ to /opt/nbfc/
  2. To install the NBFC service, copy nbfc/Linux/nbfc.service and nbfc/Linux/nbfc-sleep.service into /etc/systemd/system/
  3. To enable and start the service, open a terminal and type systemctl enable nbfc --now
  4. (optional) Add /opt/nbfc/ to PATH, so you can call nbfc from anywhere
  5. Select a config: nbfc config --apply "name of a config file without extension"

The NBFC service will start automatically. You can use the NBFC CLI (nbfc.exe) to control it.
If you want to completely disable the service, this article will be a good read: systemd: Using units.