[Xquartz-dev] How to suppress .xinitrc warning dialog?

Dave Ray apple at jonive.com
Sun Jun 26 18:20:36 PDT 2011


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?

I guess my follow-up question is:

If I need to invoke another process before the wm starts, how is that done?

In the "wrong" .xinitrc method, that pre-process just comes on a line before the wm command.

I could do: USERWM="/usr/bin/somethingelse && /usr/X11/bin/twm". Is there a better way?


More information about the Xquartz-dev mailing list