On Jun 26, 2011, at 18:20, Dave Ray wrote: > On Jun 26, 2011, at 17:21, Dave Ray wrote: >> >>> On Sun Jun 26 15:41:09 PDT 2011, Jeremy Huddleston wrote: >> mkdir ~/.xinitrc.d >> echo "USERWM=/usr/X11/bin/twm" > ~/.xinitrc.d/00-twm.sh >> chmod 755 ~/.xinitrc.d/00-twm.sh > > Thanks, that makes it clear. > > When I tried it before, I was trying to exec the wm in the script (like in > .xinitrc), which wasn't working. Instead I should be setting USERWM in the > script. Correct?
You can also exec it if you'd rather do that... mkdir ~/.xinitrc.d echo "exec /usr/X11/bin/twm" > ~/.xinitrc.d/99-twm.sh chmod 755 ~/.xinitrc.d/99-twm.sh > I guess my follow-up question is: > > If I need to invoke another process before the wm starts, how is that done? Just put it in your xinitrc.d script or in a different one that would execute before yours. > In the "wrong" .xinitrc method, that pre-process just comes on a line before > the wm command. Yeah, that will work here... these are just bourne shell scripts... > I could do: USERWM="/usr/bin/somethingelse && /usr/X11/bin/twm". Is there a > better way? No, that is definitely not what you should do. _______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev