Tiny widget to control your ThinkPad's fan speed
Project description
ThinkIndicator
Has automatic fan control of your ThinkPad made your knees flame and bodily fluids boil?
Maybe you're fine with your laptop running hot but you want to quickly switch it to full fan speed, get to bed with it and get no burns?
Look no further!
This little indicator (taskbar widget) will let you change the fan speed with just a scroll over it.
Requirements
- Python>3.6
- Linux with acpi_thinkpad module (if you don't know what it is, you have it)
- pygobject
- libappindicator
- Root access (if you know how to bypass that, let me know)
- Obviously, an IBM/Lenovo ThinkPad
Enabling fan control
Check if you have /proc/acpi/ibm/fan
file in your system. If not, try loading acpi_thinkpad module with command modprobe acpi_thinkpad
.
The next step is enabling manual control over the fans. Create file /etc/modprobe.d/50-thinkfan.conf
with content options thinkpad_acpi fan_control=1
.
Reboot and you're all set.
pygobject
An appropriate package is called python3-gobject in SUSE and Fedora, python3-gi in Debian and Ubuntu, python-gobject in Arch btw.
libappindicator
An appropriate package is called libappindicator3-1 in most distros, libappindicator-gtk3 in Arch.
Installation & Usage
ThinkIndicator can be installed from PyPI with command pip install thinkindicator
. You can then run it with command thinkindicator
.
You can also download it from git:
git clone https://github.com/przemub/thinkindicator
cd thinkindicator
./start.sh
Start ThinkIndicator using your preferred method. You should see a number or letter signifying the current fan status in your taskbar. Click on it to change the mode. If you are in a manual mode (signified by a number) then you can scroll on the indicator to change the speed level.
If shit hits the fan (haha) let me know via the Issues tab.
Disclaimer
THIS SOFTWARE IS DISTRIBUTED UNDER NO RESPONSIBILITY ACCEPTED FOR THE RESULTS OF ITS USAGE, INCLUDING BUT NOT LIMITED TO FRYING YOUR LAPTOP, TESTICLES OR OVARIES.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for thinkindicator-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5546f25fc94c2f19705576844ac0882c0ae0153cf88b89541401a024ad8a0a7d |
|
MD5 | 1184060e644228d1b3f5b5662303968e |
|
BLAKE2b-256 | c8f5726d88aee6627e10bd86ffd878011d91e26a9e8ff597fb5b0363cff90b4a |