Skip to content

cheeseb1234/Mac-Fan-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

MacBookPro14,1 exposes sensors and fan control through applesmc + coretemp.

This project acts as a GUI for (https://github.com/linux-on-mac/mbpfan) which can create profiles based on temp and battery state, as well as managing the service.

Vibe coded with my MacBookPro14,1 on Manjaro in mind.

Getting started

Use it like this:

Save the file somewhere permanent, for example:

mkdir -p ~/Applications mv ~/Downloads/macfan_manager.py ~/Applications/ chmod +x ~/Applications/macfan_manager.py

Launch it:

python3 ~/Applications/macfan_manager.py

If Tkinter is missing on Manjaro, install the Arch tk package:

sudo pacman -S tk

In the app, do this order:

  1. edit or create your profile

  2. click Apply to system config

  3. click Install / update service

  4. click Start

  5. click Enable at boot

The privileged buttons use pkexec first and fall back to sudo; pkexec is part of the polkit privilege-escalation model on Arch-based systems.

A couple of practical notes:

Install the service only after the script is in its final location. The service points to that exact file path.

When the service stops, the script is designed to hand control back to automatic fan mode.

Find this handy? https://buymeacoffee.com/rarecore

About

python GUI for mbp fan control on linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages