Scott,

Ways of launching PyMOL from the commmand-line on Mac OS X.

Option A:

In current MacPyMOL builds (I think 1.0 as well), inside the .app bundle
there is a ./setup.sh script which, when run from inside that working
diretory, writes a "../pymol" command which can be used to reliably launch
MacPyMOL or PyMOLX11Hybrid from the command line.  You can then copy or move
this script into your path.

Option B:

Use the built-in "alias" command within whatever shell you prefer.

tcsh: put in your ".cshrc"

alias pymol /Applications/MacPyMOL.app/Contents/MacOS/MacPyMOL

bash: put in your ".profile"

alias pymol=/Applications/MacPyMOL.app/Contents/MacOS/MacPyMOL

Cheers,
Warren

--
DeLano Scientific LLC
Subscriber Support Services
mailto:[email protected]
 

> -----Original Message-----
> From: Scott Shandler [mailto:[email protected]] 
> Sent: Tuesday, April 29, 2008 7:30 AM
> To: DeLano Scientific
> Subject: Re: [PyMOL] PyMOL + Leopard + symlink
> 
> Hello again Warren,
> 
> Thanks for your quick response, I thought there was something 
> funky with my machine.  The intent of the symlink is to make 
> it simpler to open the X11 version on a mac.  I use 
> terminal/x11 environment regularly and the symlink is just a 
> short command to open the program.  Maybe I could wrap the 
> actual call in a shell script or something, possibly I could 
> just use the application name (MacPyMOL) after adding it to my path.
> 


Reply via email to