You can write a script to check the CPU temps in linux and set the fans to kick on at different power levels for certain temps and just run it as a timer event. I did this for a Macbook I had Arch running on when it was running hotter than I liked.
I'd prefer to run my laptop with as few fan activity as possible without overheating. So when the CPU gets too hot, clock it down instead of starting the fan.