How to Get Mac Apps on the Mac OS X Dock?

David Rowe david.rowe at freeuk.com
Wed Jan 16 07:11:05 PST 2008


Jeffrey Thompson wrote:
> I have successfully compiled gimp (!!) and I would like to put it's icon
> on the Mac OS X Dock.  Dragging the /opt/local/bin/gimp shortcut doesn't
> work.  How would I create a Gimp Icon button on my dock?  Thanks!
> --
>   
Open /Applications/Applescript

Launch 'Script Editor'

Type something like the following:
tell application "Finder"
    do shell script "open-x11 /opt/local/bin/gimp"
end tell

Save this to /Applications with a suitable filename e.g. runGimp - or 
even just Gimp

Open /Applications in Finder and drag your new file into the dock.

Enjoy

Good luck

David Rowe


More information about the macports-users mailing list