How to give a terminal command an icon?

Discussion in 'Mac Basics and Help' started by fliptomato, Jul 3, 2008.

  1. fliptomato Guest

    Hello -- I've installed a program on MacPorts (gedit) and I'd now like to assign it an icon that I can dump into my Applications folder. (Instead of running it from the terminal.) How do I do this?

    Actually, while I'm at it, how do I teach Quicksilver to run the program and to use it to open documents?

  2. wrldwzrd89 macrumors G5


    Jun 6, 2003
    Solon, OH
    The Dock won't let you put non-applications on the left (or, at least, what it thinks are non-applications). There's a way to fool it though - this also works for your situation.

    Make a small AppleScript in Script Editor. It's going to be very simple, and just serves as a launcher for your MacPorts program.

    tell application "Terminal"
    do script "/opt/bin/whatever"
    end tell
    Save this script as an application. You can then drop it in your Applications folder, give it an icon, and QuickSilver should recognize it.

    EDIT: Make sure you replace the whatever with the actual name of the executable.

Share This Page