Re: How do I create a launch-icon on the Mac desktop?
- From: haberg@xxxxxxxxxx (Hans Aberg)
- Date: Tue, 02 Oct 2007 17:15:10 GMT
In article <1191330803.335995.250750@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
support.accountz@xxxxxxxxxxxxxx wrote:
I guess what I actually meant was "A shortcut that works" i.e.
doubleclicking either icon, the original or the Desktop shortcut does
nothing whereas typing the above path in the CLI works - so I guess my
question is: how do I create a Desktop icon that, when you double-
click it, it fires up this command:
/Developer/qt/designer.app/Contents/MacOS/designer
The Finder seems to work so that it merely hands over a reference of the
file clicked on to the launch program. X11 executes the file in a bash
shell. For some reason, Terminal does not accept this.
So one way is to write an ordinary script, say in a console
cat > foo
/Developer/qt/designer.app/Contents/MacOS/designer
^D
chmod +x foo
And then, in Finder, Get Info of "foo", and set it to launch to X11. X11
will then create a bash shell, and execute the script.
Hans Aberg
.
- References:
- How do I create a launch-icon on the Mac desktop?
- From: robin . pain
- Re: How do I create a launch-icon on the Mac desktop?
- From: Gregory Weston
- Re: How do I create a launch-icon on the Mac desktop?
- From: support . accountz
- How do I create a launch-icon on the Mac desktop?
- Prev by Date: Re: Running a Mini without keyboard and monitor
- Next by Date: Re: How do I create a launch-icon on the Mac desktop?
- Previous by thread: Re: How do I create a launch-icon on the Mac desktop?
- Next by thread: Re: battery issue
- Index(es):
Relevant Pages
|