I cheated and used "sleep 5".  That gave firefox enough time to load.
Thanks for the reply!

On 8/20/06, Isaac Atilano <aristophrenic at warpmail.net> wrote:
> You can try using the "at" command to delay the launch of xine for a few
> seconds while firefox finishes loading.
>
>
> ----- Original message -----
> From: "Donovan Niesen" <dniesen at gmail.com>
> To: "TCLug List" <tclug-list at mn-linux.org>
> Date: Sun, 20 Aug 2006 17:38:22 -0500
> Subject: [tclug-list] Running X programs from a script
>
> I'm starting an X session and trying to get a video playing on top of
> a web page.  Here's the excerpt form my startup script:
>
> /usr/bin/firefox http://127.0.0.1/ &
> /usr/bin/xine -G 950x750+-50+-50 -I -n --loop --no-splash --no-logo
> /videos/comm.m3u
>
> Now what's happening is that Xine is loading faster so Firefox ends up
> on top of Xine.  Is there a way to set which program is on top from
> the script?
>
> --
> Donovan Niesen
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>


-- 
Donovan Niesen