[Xquartz-dev] Default xinitrc file

Peter Dyballa Peter_Dyballa at Freenet.DE
Mon Dec 1 13:35:16 PST 2008


Hello!

On lines

      48 if [ -d /usr/X11/lib/X11/xinit/xinitrc.d ] ; then
      49         for f in /usr/X11/lib/X11/xinit/xinitrc.d/*.sh ; do
      50                 [ -x "$f" ] && . "$f"
      51         done
      52         unset f
      53 fi

the xinitrc file checks whether there are some shell scripts to  
execute, for example

	-rwxr-xr-x   1 pete  admin  718 24 Nov 12:27 10-fontdir.sh
	-rwxr-xr-x   1 pete  admin   53 24 Nov 12:27 99-quartz-wm.sh

then a window manager and some X clients are are prepared for launching:

      57 twm &
      58 xclock -geometry 50x50-1+1 &
      59 xterm -geometry 80x50+494+51 &
      60 xterm -geometry 80x20+494-0 &
      61 exec xterm -geometry 80x66+0+0 -name login

I see one problem (two on Tiger) with /usr/X11/lib/X11/xinit/ 
xinitrc.d/99-quartz-wm.sh and its contents, a one-liner:

	[ -x /usr/bin/quartz-wm ] && exec /usr/bin/quartz-wm

(on Tiger quartz-wm lives in /usr/X11R6/bin) which IMO stops  
execution of the xinitrc file on line #50 because of the "exec"  
keyword. So no X clients are launched.

Am I wrong?

--
Greetings

   Pete

Make it simple, as simple as possible but no simpler.
				– Albert Einstein





More information about the Xquartz-dev mailing list