this project is addition to the existing project by https://gitlab.com/OdinTdh with https://gitlab.com/OdinTdh/extremecooling4linux
TODO : port correctly to arch(or arch based systems, current build suffers from many irregularities); remove gtk deps(qt?); include fan control.
ExtremeCooling4Linux is a Gtk3 program to enable the extreme cooling fan mode on Linux.
Extreme cooling is a special fan mode supported in Lenovo Legion laptops. This mode can increase the cooling performance of your laptop and reduces its temperature. However, this feature is only supported by Lenovo through its Windows program Lenovo Sense Nerve.
ExtremeCooling4Linux has been created to enable and support this special feature on Linux. Currently is only tested in Lenovo Legion Y520, but it should be work in other models like Lenovo Legion Y720.
This program does not have warranty and only use at your own risk. Enable extreme cooling only in short periods of time as it can reduce the lifespan of your fans and do not use in laptops without extreme cooling support from Lenovo.
ExtremeCooling4Linux is available as AppImage and deb package in https://odintdh.itch.io/extremecooling4linux
you can use ExtremeCooling4Linux from a desktop applet with indicator-extremecooling4linux
The AppImage package has all dependencies included, so if you download it, you don't need to install dependencies. However, if you prefer execute it from source code you have to install python 3 and the following packages:
- python3-gi
- python3-gi-cairo
- gir1.2-gtk-3.0
- python3-portio.
There are 3 options to install ExtremeCooling4Linux. You only need to use one of them.
- AppImage
- Deb package
- Source
If you use the AppImage version you don't need install it only you have to download it from itch.io and give it permission to execute with the chmod command.
To install the deb package you can use the dpkg -i command or a gui program to install deb packages like GDebi.
If you want install from the source you can install it with the following command:
sudo make install
To uninstall:
sudo make uninstall
ExtremeCooling4Linux needs root privileges to configure and enable extreme cooling when you execute it with the AppImage version. If you use the deb version or install it from the source with the make command, you don't need to execute it with sudo to get root permissions as it installs a polkit policy to avoid ask root password.
If you use the ExtremeCooling4Linux appimage from itch.io, you have to execute with sudo to enable extreme cooling.
If you installed ExtremeCooling4Linux from a deb package or the source code, you can execute it from the menu of your desktop or from the console with the ec4Linux command.
ExtremeCooling4Linux works as a gui program but also it has command line interface with the following options:
- enable: starts extreme cooling fan mode
- disable: stop extreme cooling fan mode
- change-state: change the state of the fan mode from enable/disable to disable/enable states.
Start extreme cooling fan mode
ec4Linux enable
Stop extreme cooling fan mode
ec4Linux disable
Start extreme cooling fan mode if it is stopped:
ec4Linux change-state
Stop extreme cooling fan mode if it is started:
ec4Linux change-state
Currently ExtremeCooling4Linux is only tested in the Lenovo Legion Y520 laptop, but it should be work in other models with extreme cooling supported by Lenovo like Lenovo Legion Y720.
ExtremeCooling4Linux only works in Lenovo laptops with extreme cooling support by Lenovo but only I can test in my own laptop. It would be great to have a complete list with the models that supports Lenovo extreme cooling. If your laptop supports Lenovo extreme cooling, please send an issue with the output of these commands to get the system information of your laptop model:
sudo dmidecode -s system-manufacturer && sudo dmidecode -s system-version && sudo dmidecode -s system-product-name
The output of these commands in my laptop is: LENOVO Lenovo Y520-15IKBN 80WK
ExtremeCooling4Linux is published under GPLv3