|
|
Double clickable X11 apps?
|
|
|
|
Mac Elite
Join Date: Jan 2001
Status:
Offline
|
|
I see that in the X11 that comes with 10.3, you can double click X11 apps and they will launch.
Can anyone ellaborate? Does this mean if you compile the source, and a binary is made, you just double click binary and it opens X11 and then runs it? Is X11 built in, or still another app?
Thanks!
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Sep 2003
Location: San Diego
Status:
Offline
|
|
Originally posted by timmerk:
I see that in the X11 that comes with 10.3, you can double click X11 apps and they will launch.
Can anyone ellaborate? Does this mean if you compile the source, and a binary is made, you just double click binary and it opens X11 and then runs it? Is X11 built in, or still another app?
Thanks!
X11 comes with Panther, but it is not installed by default. You have to do a "custom" install or install it seperatly.
Yes, if you compile an X11 app from source and double click it, X11 will recognize it and run. (I recently compiled "Kstars" (an astronmy program) with fink, and I was able to double click it to open X11 and allow it to run)
However, I was not able to place the icon in the dock...
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Nov 2000
Location: Tasmania, Australia
Status:
Offline
|
|
Originally posted by smitty825:
X11 comes with Panther, but it is not installed by default. You have to do a "custom" install or install it seperatly.
Yes, if you compile an X11 app from source and double click it, X11 will recognize it and run. (I recently compiled "Kstars" (an astronmy program) with fink, and I was able to double click it to open X11 and allow it to run)
However, I was not able to place the icon in the dock...
Did you try placing it in the right side of the dock? In OS X terms, it is a document, not an application (even though it may be a unix executable, it's still not a Mac OS X application, as such).
How does the Finder/OS decide that a particular file should be run in X11? Does it have to be linked to a particular X11 library?
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2003
Status:
Offline
|
|
Also in the X11 that comes w/ Panther you are able to set applications that are assessable in the applications menu and by right/ctrl clicking on the X11 icon in the dock. Just load up X11 and then go to the Applications menu and then to customize.
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Nov 2000
Location: Tasmania, Australia
Status:
Offline
|
|
I've also noticed that you can now double click a shell script (and presumably perl scripts and others?) in the Finder and they will run in the Terminal. Previously they had to be named with a ".command" extension for this to work.
How does this work. Is the Finder reading the content of the file to determine what to do with it? (ie, looking for #!/bin/sh at the beginning?)
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
Originally posted by Brass:
How does this work. Is the Finder reading the content of the file to determine what to do with it? (ie, looking for #!/bin/sh at the beginning?)
To my understanding, it now looks at the file's permissions -- if it's executable, it tries to execute it.
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
|
|
|
|
|
|
|
Senior User
Join Date: Oct 2000
Location: Midwest
Status:
Offline
|
|
A simple test- dragging the icon for /usr/X11R6/bin/xclock to the Dock, created a persistent icon that can be double- clicked. X11 launches then xterm then the app.
Craig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|