On May 19, 2010, at 15:59 , David Rowe wrote:
However, for convenience, I have been using a utility called Platypus that takes a shell script and wraps a minimal MacOS app around it so that you can run the script from the MacOS dock. See
http://www.sveinbjorn.org/platypus.
The script I used was simply:

#!/bin/sh
/opt/local/bin/gramps


This is going to run with the default PATH, not the one you have set up for shells/Terminal windows. You probably want to change the above script to add /opt/local/bin to $PATH, since other programs launched from the Dock or an icon may behave oddly if they start using MacPorts' versions of programs instead of the system ones they use now.

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allb...@kf8nh.com
system administrator [openafs,heimdal,too many hats] allb...@ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH



Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to