Results 1 to 2 of 2

Thread: Autostart an app only after network is available?

  1. #1
    Join Date
    Oct 2005
    Beans
    11

    Question Autostart an app only after network is available?

    Hi,

    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
    Location
    WI USA
    Beans
    9,952
    Distro
    Ubuntu 14.04 Trusty Tahr

    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.

    Code:
    #! /bin/bash
    sleep 20
    Last edited by Frogs Hair; May 6th, 2013 at 01:37 AM.
    Infinite diversity in infinite combination.

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

Tags for this Thread

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
  •