How to run fancontrol automatically?

Jonas Norlander jonorland at gmail.com
Thu Apr 3 13:28:53 UTC 2008


2008/4/3, Blue Rose <bluerosemagic at gmail.com>:
> Hello everyone,
>
>  I am fairly new to linux, running Kubuntu 8,04/kde3 now.
>  Works good so far, just one thing I can't work out.. even after
>  searching multiple forums..
>
>  My cpu-fan spins at 3800rpm, so it's a terrible noise.. I found how to
>  get fancontrol working with lm-sensors and pwmconfig.
>  However, I would like Kubuntu to start fancontrol automatically when I
>  boot up my pc (after kubuntu login would be fine).
>  Now, I have to "sudo fantrol" everytime. I'm quite sure it's possible to
>  tell Kubuntu to that for me.
>
>  Any tips? And please all steps.. I'm a recent convert:P and not very
>  good at konsole work yet
>  (too young, I missed the whole MSDOS era too ;-) though I would like to
>  learn. I'm not scared of the konsole.. as long as I know what to do :P
>
>  Thanks!
>
>  Linda
>

Hello!

The best way to start your own programs at boot is to edit the file
/etc/rc.local
and add the full path to the program there.

So the steps to do that would be:
*) Open konsole and write run "sudo kate /etc/rc.local"
*) Add something like "/usr/bin/fancontrol" above the exit 0 line

In my file it say that you need to change the execute bit of /etc/rc.local,
it was already done for me but to be sure you can run "sudo chown +x
/etc/rc.local"
from console.

Hope it will help

/ Jonas




More information about the kubuntu-users mailing list