Follow

Getting back into the habit of writing small utilities for myself -- rather than relearn the syntax for thinkfan I wrote my own fan controller for my current main Linux laptop -- a Thinkpad X131e

github.com/insom/tinyfan/blob/

Now I can build it for my preference (fan at max to cool the machine down, and then off the rest of the time) and I can enjoy a little C practice while I do it.

@insom awesome!

i was just thinking about replacing fancontrol (a bash script) with something that
- can use cpu load as an (additional) input, to ramp up fan speed ahead of temp increase and
- doesn't need to exec /bin/sleep every second

Sign in to participate in the conversation
Tiny Tilde Website

ttw is the unofficial Mastodon instance of tilde.town. We're only smol, but we're friendly. Please don't be a dick.