Results 1 to 2 of 2

Thread: Startup Script stays resident

  1. #1
    Join Date
    Nov 2009
    Location
    Lake Wales Florida
    Beans
    607
    Distro
    Ubuntu 12.04 Precise Pangolin

    Startup Script stays resident

    Hey All
    I added a startup script to load Skype and a couple of screenlets with a slight delay (sleep 1). All works as it should except if I look in the system monitor it shows the sh script as resident (running). I can kill the process manually but cant seem to get it to exit gracefully from the script itself.
    It shows sh as the process running with me as the user etc.
    Code:
    #!/bin/bash
    python -u /usr/share/screenlets/screenlets-pack-basic/Output/OutputScreenlet.py 
    sleep 1
    python -u /usr/share/screenlets/screenlets-pack-basic/Meter/MeterScreenlet.py
    sleep 1
    skype
    exit 0
    AMD FX-6200 - MSI 4.1Ghz- Nvidia GTX550Ti -12/GIG - 60GB-SSD/500 Sata - 12.04 - Gnome 3

  2. #2
    Join Date
    Sep 2006
    Beans
    7,632
    Distro
    Lubuntu Development Release

    Re: Startup Script stays resident

    You probably want to run skype in the background and let the script progress to its end.

    Code:
    skype &
    If the python scripts are also holding up the script, do the same for them, too.

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
  •