Re: x11, Matlab and Mac -- remove OroborOSX reference
Re: x11, Matlab and Mac -- remove OroborOSX reference
- Subject: Re: x11, Matlab and Mac -- remove OroborOSX reference
- From: Douglas Kojetin <email@hidden>
- Date: Thu, 30 Oct 2003 20:13:42 -0500
Here is a modification that _should_ get rid of the OroborOSX
reference. I found this information on the following website:
http://www.ece.rice.edu/~ngrady/install_matlab_osx.html
edit the following file (note: the second folder, i have it as
'matlab', may vary based on your install):
/Applications/matlab/bin/LaunchMATLAB.app/Contents/launch_matlab.sh
change it to something similar to this:
########
#!/bin/sh
if [ "`ps xc | grep X11`" ]; then
# Bounce less if X11 is already started
sleeptime=15
else
sleeptime=30
osascript -e 'tell application "X11" to activate'
fi
cd ../..
bin/mac/setsid bin/matlab -desktop -display :0.0 &
# Bounce to let user know MATLAB is starting up.
/bin/sleep $sleeptime
_______________________________________________
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.