Results 1 to 2 of 2

Thread: Autostart an app only after network is available?

  1. #1
    Join Date
    Oct 2005

    Question Autostart an app only after network is available?


    I am using desktop entries dropped in the ~/.config/autostart to open applications on login. One of these apps is the splashtop streamer. However this application loads before the wireless connection is established, therefore gives an error every time. Is there a way to load these applications after network, similar to the init scripts? If not, is there a way to artificially introduce a delay?

    Thanks a lot inadvance!

    PS: I use 13.04

  2. #2
    Join Date
    Feb 2010
    WI USA
    Ubuntu 15.10 Wily Werewolf

    Re: Autostart an app only after network is available?

    Here is a simple delay script , perhaps it could be modified to suit your needs . You would have to add name and the path to the application , make it executable and add it to start up applications. The sleep time can be changed . If you wait some one can help you further as I don't use scripts very often.

    #! /bin/bash
    sleep 20
    Last edited by Frogs Hair; May 6th, 2013 at 01:37 AM.
    Believe in possibility and proceed !

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Manual

Tags for this Thread


Posting Permissions

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