Subject: Re: favorite wm for the low end
To: Tim & Alethea Larson <thelarsons3@cox.net>
From: Marco Trillo <marcotrillo@gmail.com>
List: port-mac68k
Date: 12/14/2006 16:46:40
Hi,

On 12/14/06, Tim & Alethea Larson <thelarsons3@cox.net> wrote:
> >> Here's the one from my Mystic CC, running Blackbox:
> >>
> >> xmodmap -e "keysym Delete = BackSpace Delete"
> >>
> >> xscreensaver &
> >> sleep 5; aterm &
>
> The intent of this line is to delay the start of the terminal until
> after the wm starts and displays the background, so that the
> transparency of the terminal correctly shows the background.  I am not
> positive I am doing it correctly, though.

I think you can also start first the window manager and then wait for
it using the wait(1) built-in command of sh(1) to do that.
In example:

blackbox & #start the window manager
pid=$! #get the PID of the wm
aterm & #start aterm after the wm
wait $pid #wait for the wm to start
exit $? #return the status


-- 

     -Marco