Thanks Eric, Alexander and especially Martin for putting me straight :-)
On 16/12-2003, at 14.48, Martin Costabel wrote:
I think you should *not* try to play around with your shell startup scripts (although it may be too late for this advice now). You should start by trying to ask the right question. You keep comparing X11.app and Terminal.app. This is comparing not apples and oranges but single apples and whole orange trees.
or 2. Create a ~/.xinitrc file like in 1., but without the second line. Forget about xterm and use Terminal.app windows instead. If you export DISPLAY=:0 you can start any X11 program from the command line in your Terminal.app window, and you have a much better environment than in xterm. You can even start an xterm from the command line if you need one, and it will inherit your PATH variable from your Terminal.app environment.I have removed the bogus ~/.bashrc file, and created a .xinitrc as prescribed by Martin, containing the lines:
source /sw/bin/init.sh
exec quarz-wm
and have subsequently been able to launch X-apps from Terminal.app. I've added the line
export DISPLAY=:0
to my ~/.profile, and it works great.
Thanks again,
Steffen
-- Martin
There was a young lady called Bright who could travel much faster than light. She departed one day in a relative way and returned on the previous night
___________________________________________ Steffen Lund Hokland, Ms. Sc. Research Assistant
The MR-Research Centre Inst. of Exp. Clinical Research University of Aarhus Skejby University Hospital DK-8200 Aarhus Denmark
Phone Office : +45 89495264 Phone Home : +45 86166608 Phone Mobile : +45 61307461
e-mail : [EMAIL PROTECTED] ___________________________________________
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners