1

I am trying to add a delay at start up for a few applications using the sleep command. For example: I'm trying sleep 5; tomboy which works in terminal, but doesn't work when I add it to the command field in the "Startup Applications" section of the system settings.

With the sleep command, the commands don't seem to execute at all. Is there another command I should be using to create a delay? Is this a bug?

aboutros
  • 830

1 Answers1

5

The startup applications line probably doesn't invoke a shell. Try setting it to run in a terminal. Then, change it to: bash -c 'sleep 5; exec tomboy'.

Warning: This is all untested.