Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using ubuntu 12.04. I have a few startup applications - Dropbox, Transmission, a few custom scripts. These stretch the login time to ~10 -15 seconds (an old machine here).

I do not need to start these immediately at login. Is there a way to lazy load these applications?

share|improve this question

2 Answers 2

The way I finally did was

Startup Applications -> Add -> Command

bash -c "sleep 10 && path/to/program_or_script"

Complete the name and comments and hit save.

example: start dropbox one minute after login (Disable autostart in dropbox preferences)

bash -c "sleep 60 && dropbox start -i" 
share|improve this answer

One way would be to create a small bash script that will kick off those programs, then create a startup script that calls it via at. So, create your bash script, something like lazy-startup.sh:

#!/bin/bash
transmission
dropbox
other scripts

Then create your kickoff script lazy-startup-kickoff.sh

#!/bin/bash
at -f /path/to/lazy-startup.sh now + 5 minutes
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.