Fan Help Needed please.

Discussion in 'Linux' started by jfly365, Sep 16, 2008.

  1. jfly365

    jfly365

    Joined:
    Sep 15, 2008
    Messages:
    6
    Likes Received:
    0
    I have managed with a bit of help to get the noisy fan to stop, however I think it needs to be in start up script to turn on after reboot...Im sure its easy but I am new to this and could do with some advice in how to get it to work auto on re boot instead of me manually going into terminal to do it via the

    /usr/local/bin/acerfand

    Many thanks in advance.
     
    jfly365, Sep 16, 2008
    #1
  2. jfly365

    annafil

    Joined:
    Aug 12, 2008
    Messages:
    327
    Likes Received:
    0
    Location:
    Malaysia
    open up xfce4-autostart-editor (either from terminal, or type into the f2 dialog), hit add, and type that exact path name you just gave as "command". alternatively, use the browse button to find the script you're running. give it some name and save ;)
     
    annafil, Sep 16, 2008
    #2
  3. jfly365

    jfly365

    Joined:
    Sep 15, 2008
    Messages:
    6
    Likes Received:
    0
    "command" I think I must be going wrong somewhere as not sure what the name is I gave it. I can get into editor ok and add but its not doing the job.
    When I manually type in /usr/local/bin/acerfand in terminal, that works ok....Any ideas please ?
     
    jfly365, Sep 16, 2008
    #3
  4. jfly365

    annafil

    Joined:
    Aug 12, 2008
    Messages:
    327
    Likes Received:
    0
    Location:
    Malaysia
    Ok when you run the acerfand script from terminal successfully, does it need a "sudo", any sort of admin privileges? If simply running

    Code:
    /usr/local/bin/acerfand 
    from a terminal gets the job done, then cut and paste the above code into the field named "command" as i described in the earlier comment.

    if you need admin privileges, try cutting and pasting

    Code:
    sudo /usr/local/bin/acerfand 
    Typically, on Linux you shouldn't be adding "sudo" commands to startup scripts, so if you try other distros on your Aspire One, don't do this!! :)
     
    annafil, Sep 16, 2008
    #4
  5. jfly365

    jfly365

    Joined:
    Sep 15, 2008
    Messages:
    6
    Likes Received:
    0
    Many thanks for your Help. Much appreciated as I say I am brand new to Linux and a complete Novice.
     
    jfly365, Sep 16, 2008
    #5
  6. jfly365

    annafil

    Joined:
    Aug 12, 2008
    Messages:
    327
    Likes Received:
    0
    Location:
    Malaysia
    is it working now?
     
    annafil, Sep 16, 2008
    #6
  7. jfly365

    jfly365

    Joined:
    Sep 15, 2008
    Messages:
    6
    Likes Received:
    0
    /usr/local/bin/acerfand if i type that in terminal then it works, but not on reboot. To turn the fan off, I have to manually put in /usr/local/bin/acerfand in terminal each time i boot up all be it i typed in xfce4-autostart-editor....the command i inserted was /usr/local/bin/acerfand Is this right ???

    I must be doing something wrong ?????
     
    jfly365, Sep 16, 2008
    #7
  8. jfly365

    annafil

    Joined:
    Aug 12, 2008
    Messages:
    327
    Likes Received:
    0
    Location:
    Malaysia
    Ok then, try this

    Code:
    sudo mousepad /etc/rc.local
    then add

    Code:
    /usr/local/bin/acerfand
    to the very bottom of the file. Save, reboot.
     
    annafil, Sep 16, 2008
    #8
  9. jfly365

    jfly365

    Joined:
    Sep 15, 2008
    Messages:
    6
    Likes Received:
    0
    Fantastic that worked :D I am really impressed and very grateful for all your help

    Now I need to figure out how I can connect my Nokia as a USB Modem. :roll:
     
    jfly365, Sep 16, 2008
    #9
  10. jfly365

    annafil

    Joined:
    Aug 12, 2008
    Messages:
    327
    Likes Received:
    0
    Location:
    Malaysia
    there's already a howto on that. i suggest searching for "3g modem" and "network manager", or click on my username and look through my posts.
     
    annafil, Sep 17, 2008
    #10
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.