From: Leonardo Trabuco (ltrabuco_at_ks.uiuc.edu)
Date: Wed Nov 03 2010 - 08:37:44 CDT

Hi Steve,

On Wed, Nov 3, 2010 at 2:25 PM, Steven S Plotkin <steve_at_physics.ubc.ca> wrote:
>
> Hi,
>
> I want to run vmd from the terminal on my macbook pro like I've done on my
> linux workstation. I'm new to the mac so apologies for the basic question.
>
> I have downloaded VMD 1.8.7 and dragged the icon to the applications folder.
> I can open vmd by simply double clicking the applications folder icon, and
> view molecules.
>
> However I there is no terminal vmd command that links to the executable.
>
> I've found some threads on the list that are related, e.g.
> http://www.ks.uiuc.edu/Research/vmd/mailing_list/vmd-l/15371.html  but these
> don't seem to answer my specific question.
>
> By control-clicking on the "VMD 1.8.7" icon in the Applications folder, and
> going to Show package contents -> Contents/MacOS/ , I see there is both a
> startup.command file and a startup.command.csh file.  I think these somehow
> have to be linked or aliased to "vmd" at the terminal prompt, but I'm not
> sure how or which file. Again sorry for the basic question.

This is what I have in my ~/.bashrc:
alias vmd="/Applications/VMD\ 1.8.8.app/Contents/MacOs/startup.command"

Cheers,
Leo

> Thanks,
>
> Steve
>
>

--
Leonardo Trabuco, Ph.D.
CellNetworks, BioQuant
University of Heidelberg, Germany