On Sun, Apr 18, 2004 at 01:23:50PM -0400, Koen van der Drift wrote:
} I installed xfree86 (4.4) through fink, and copied quartz-wm from
} Apple's X11 into /usr/X11R86/bin/. My .xinitrc fle is very simple:
}
} source /sw/bin/init.sh
}
} exec quartz-wm
} xterm
}
} When I start the XDarwin app, no window appears, and there is no File
} menu, from which I can select New Window (Cmd-N). With Apple's X11,
} this worked flawlessly.
}
} Am I missing something critical in my .xinitrc file?
Yes, you are. If you want an xterm, it really needs to be run *before*
you exec something. You see, exec replaces the currently running process
with what the process you are starting. This means that the xterm line
never gets executed. You'll also want to background the xterm (i.e.
xterm &) so that the .xinitrc doesn't wait for it to finish before
running the window manager.
The reason you don't get the File menu is that it is part of Apple's
X11.app, and has nothing to do with the window manager. Since you are
not running Apple's X11.app, no file menu.
Note that even with the mistakes you have made, you can still run X
apps. If you open a Terminal window and set the DISPLAY environment
variable to :0 you should be able to run xterm or whatever else
(assuming you have already started the X server).
} thanks,
} - Koen
--Greg
P.S. Is there any good reason whatsoever to run 4.4 under MacOS X rather
than Apple's X11.app?
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users