Re: Matlab with X11
Re: Matlab with X11
- Subject: Re: Matlab with X11
- From: maturin <email@hidden>
- Date: Thu, 9 Oct 2003 07:12:38 -0500
I recently installed X11 on my G4. Now I need to uninstall it. How
exactly is this done?
Why would I want to do this? I'm trying to install MATLAB. According
to
the Mathworks, the installation requires XDarwin and OroborOSX.
Apparently
these things are colliding with X11.
It works fine with any X11. The problem is that the program is started
using a script buried in:
MATLAB/bin/LaunchMATLAB (this is actually a
bundle)/Contents/launch_matlab.sh
This shell script checks to see id OroborOSX is running:
if [ "`ps xc | grep OroborOSX`" ]; then
# Bounce less if OroborOSX is already started
sleeptime=30
else
sleeptime=60
fi
# osascript -e 'tell application "OroborOSX" to activate'
osascript Contents/launch_oroborosx
cd ../..
bin/mac/setsid bin/matlab -desktop -display :0.0 &
This last line has been sufficient to start matlab with X11 or XDarwin
running. I added the relative path.
There is more to launch_oroborosx than a shell script (it is a compiled
applescript, I think).
Also, while there is a bin/matlab there is also a...
bin/scripts/matlab
bin/mac/MATLAB
bin/LaunchMATLAB/Contents/MacOS/LaunchMATLAB
along with a heap of other scripts that may be setting environment
variables that I don't know about.
Lastly, OroborOSX can live happily beside the other two options-
XDarwin, X11b3.
I run all three. I have XDarwin installed, the bits from Apple's X11b3
added and OroborOSX. I use an applescript to change out the different
versions of the .xinitrc needed.
cheers
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.