Results 1 to 7 of 7

Thread: delay startup applications

  1. #1
    Join Date
    Dec 2007
    Location
    Secunda, South Africa
    Beans
    363
    Distro
    Ubuntu 10.04 Lucid Lynx

    delay startup applications

    Stupid question, but what file do you set the time delay in startup applications? some of my apps give errors before my wireless connects so i want to delay them with about 5 seconds after startup.

    Thanx in advance...
    POWER: Intel xeon 4x2.66GHz,4GB quad channel ecc DDR400(800MHz),210GB SCSI raid0(6x36GB) 512MB cache.
    PC: Intel E6600 @ 3.24GHz. NVIDIA 9800GT. 2GB DDR @ 833MHz. Ubuntu UE 2.6 64 (10.04)

  2. #2
    Join Date
    Nov 2005
    Location
    Leeds, UK
    Beans
    1,634
    Distro
    Ubuntu Development Release

    Re: delay startup applications

    If you add "sleep 5s;" to the start of the commands, that should do the trick.

  3. #3
    Join Date
    Dec 2007
    Location
    Secunda, South Africa
    Beans
    363
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: delay startup applications

    Thanx alot!!! where can i find all the commands that manipulates startup apps, i see things like <code> sh -c "sleep 5 </code>, and what is the s for in "5s". where can i learn about this?
    POWER: Intel xeon 4x2.66GHz,4GB quad channel ecc DDR400(800MHz),210GB SCSI raid0(6x36GB) 512MB cache.
    PC: Intel E6600 @ 3.24GHz. NVIDIA 9800GT. 2GB DDR @ 833MHz. Ubuntu UE 2.6 64 (10.04)

  4. #4
    Join Date
    Nov 2005
    Location
    Leeds, UK
    Beans
    1,634
    Distro
    Ubuntu Development Release

    Re: delay startup applications

    That command doesn't manipulate the startup applications. It's a general command for the linux shell which you can find in Applications > Accessories > Terminal. You might want to learn a few commands, it will improve your linux experience greatly!

    Here are two good tutorials I found:

    http://www.psychocats.net/ubuntu/terminal
    https://help.ubuntu.com/community/UsingTheTerminal

    The s is for seconds. The ; is so that the sleep command runs and only when it finishes does the other command run.

  5. #5
    Join Date
    Nov 2005
    Location
    Leeds, UK
    Beans
    1,634
    Distro
    Ubuntu Development Release

    Re: delay startup applications

    Oh and for the sleep help, you can type man sleep in the terminal. You can use man command for most programs and it will give you the program documentation.

  6. #6
    Join Date
    Dec 2007
    Location
    Secunda, South Africa
    Beans
    363
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: delay startup applications

    Thanx alot, i have began with some commands but was unaware of the sleep command as i am currently on beginner documentation...

    Thanx again for your help...
    POWER: Intel xeon 4x2.66GHz,4GB quad channel ecc DDR400(800MHz),210GB SCSI raid0(6x36GB) 512MB cache.
    PC: Intel E6600 @ 3.24GHz. NVIDIA 9800GT. 2GB DDR @ 833MHz. Ubuntu UE 2.6 64 (10.04)

  7. #7
    Join Date
    Jul 2007
    Location
    Brugge, België
    Beans
    2,933

    Re: delay startup applications

    If you are serious about learning the cli and the in and outs of a Linux system, these lessons are a must:

    http://www.linux.org/lessons/

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •