Skip to content

masterwolf-git/clevo-fan-control

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clevo Fan Control on Linux

A service for controlling the fans on Clevo laptops. Fan speed can be set manually to a specific fan duty percentage value or to automatic mode which provides a "silent" profile to override the machine's default fan curve.

Dependencies

The following dependencies must be installed on the machine using the package manager available for your Linux distribution.

  • GCC
  • CMake
  • AppIndicator3 or Ayatana AppIndicator3
  • GTK+3

On Debian/Ubuntu systems that ship Ayatana AppIndicator, install:

sudo apt install build-essential cmake pkg-config libgtk-3-dev libayatana-appindicator3-dev

On systems that still ship the legacy AppIndicator package, install the corresponding libappindicator3-dev package instead.

Build and Install

To install the service, run the following from a directory where you are comfortable having temporary build files generated.

By default the service will be installed to /usr/local/bin and the .desktop file for autostart to ~/.config/autostart.

cmake -DUSER=<user> -DGROUP=<user group> -DHOME=<home directory path> <path/to/clevo-fan-control>
cmake --build .
sudo cmake --install .

Uninstalling

Use the install_manifest.txt generated when installing to remove the files.

sudo xargs rm < install_manifest.txt

Usage

Automatic mode

/usr/local/bin/clevo-fan-control

Manually setting a fan duty percentage

/usr/local/bin/clevo-fan-control <0-100>

TODO

  • Provide necessary files or instructions for autostarting
  • Update notification with CPU temp and Fan duty
  • Add additional .desktop file for normal access
  • Add icon for .desktop file and update tray icon
  • Convert to or also support KStatusNotifierItem (KSNI)
  • Port from C to C++
  • Provide multiple fan profiles
  • Support custom fan curves via an input file
  • Implement use of Meson, Bazel or possible other build/dependency management system
  • Build AppImage for cross-distribution support

Credits and Acknowledgements

This project is based on Clevo Fan Control Indicator for Ubuntu.

The fan profiles are based off the ones provided with the Tuxedo Control Center .

About

Linux fan control service for Clevo laptops

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 92.3%
  • CMake 7.7%