On Wed, Aug 16, 2000 at 11:33:01AM -0500, Jon Pennington wrote:
> On Wed, Aug 16, 2000 at 11:32:13AM -0400, Luc Bergeron wrote:
> > What is the best way to auto-start dockapps in blackbox ? I start
> > them in the .xinitrc file. What bothers me is that they are appearing
> > from top to bottom in a random order.
> 
> I start them from .xsession, which is almost exactly the same in funtion
> as .xinitrc, except that it's called from kdm/gdm/xdm.  To force the
> order I want the apps started in, I use `sleep' to specify a delay, like
> so:
> 
> sleep 2 && bbpager -w &
> sleep 4 && bbkeys -w -t &
> sleep 6 && ...

I think 

sleep 2 && exec bbpager -w &
sleep 4 && exec bbkeys -w -t &
sleep 6 && exec ...

is a slightly better way since its nicer to your memory resources.
> 
> And so forth.  Granted, it takes four seconds for bbkeys to start, but I
> consider that a small price to pay.  You may have to tweak the sleep
> times, since some apps need more time to initialize than others. 
> 
> -- 
> -=|JP|=-                "Why, oh, why didn't I take the blue pill?"
> Jon Pennington        | Atipa Linux Solutions   -o)
> [EMAIL PROTECTED] | http://www.atipa.com    /\\
> Kansas City, MO, USA  | 816-595-3000 x1550     _\_V
> 
> 6D04 39E0 CAE9 9ADA 2CA3  2EBE 898A 6C37 CA1E A29C
> 

-- 
public key:   http://leute.server.de/hagan/gpg.txt
fingerprint:  07D9 F89B 7762 1515 F85E  49BE 86FB 9197 01B5 401A

PGP signature

Reply via email to