|
|
launch x11app on Leopard
|
|
|
|
Junior Member
Join Date: Jan 2005
Status:
Offline
|
|
back in Tiger.. i can create a .x11app script which i can click and launch that x11 app
but i find that i can no longer do it again in Leopard
does anyone know the reason why?
here is my screenshot:
http://www.parkyourpic.com/uploads/586f0acea0.png
thanks in advanced
|
---
Apple Macbook Pro 2.2GHz 15inch 2GB DDR2 RAM
LED Backlight, OSX 10.5.1 Leopard
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
Does your script have executable permissions? Can you launch /sw/bin/gqview manually? What is output to your system.log file when you launch it? What happens when you launch it?
|
|
|
|
|
|
|
|
|
Junior Member
Join Date: Jan 2005
Status:
Offline
|
|
Originally Posted by besson3c
Does your script have executable permissions? Can you launch /sw/bin/gqview manually? What is output to your system.log file when you launch it? What happens when you launch it?
i have all executable permission
i can successfully launch /sw/bin/gqview
no error output
but i just wanna "click" on an app to open it instead of opening the Terminal.app and type it all the time
back in Tiger.. i can do that in a simple ".x11app" file
|
---
Apple Macbook Pro 2.2GHz 15inch 2GB DDR2 RAM
LED Backlight, OSX 10.5.1 Leopard
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Nov 2000
Location: Tasmania, Australia
Status:
Offline
|
|
X11 is completely different in Leopard than what it is in Tiger. In fact the "X11.app" in Leopard, merely launches xterm. That's all it does.
X11 itself actually launches automatically whenever you launch any X11 application. That's why merely launching xterm (as above) is all that's required to launch X11.
This probably means that you should handle scripts that launch X11 tools very differently in Leopard to what you do in Tiger.
In fact, there are some serious problems with attempting to launch X11 manually via login item (and by other means) which can result in bouncing X11 icons in the Dock, and multiple X11 icons in the Dock.
|
|
|
|
|
|
|
|
|
Junior Member
Join Date: Jan 2005
Status:
Offline
|
|
Originally Posted by Brass
X11 is completely different in Leopard than what it is in Tiger. In fact the "X11.app" in Leopard, merely launches xterm. That's all it does.
X11 itself actually launches automatically whenever you launch any X11 application. That's why merely launching xterm (as above) is all that's required to launch X11.
This probably means that you should handle scripts that launch X11 tools very differently in Leopard to what you do in Tiger.
In fact, there are some serious problems with attempting to launch X11 manually via login item (and by other means) which can result in bouncing X11 icons in the Dock, and multiple X11 icons in the Dock.
what some ways to suppress the xterm while launching an X11 app?
or anywhere i can find out these information?
|
---
Apple Macbook Pro 2.2GHz 15inch 2GB DDR2 RAM
LED Backlight, OSX 10.5.1 Leopard
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status:
Offline
|
|
You don't need to suppress the xterm. You should be able to just make a regular .command file where you call your X11 apps as if you were in an xterm. X11 will be automatically launched as needed, without the extraneous xterm.
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Nov 2000
Location: Tasmania, Australia
Status:
Offline
|
|
Yeah, the point is that you launch a unix application that uses X11, and Leopard automatically launches X11 for you (this does NOT launch xterm).
Only manually launching X11.app (in /Applications/) will launch xterm, because what that actually does is just launch xterm directly, and because xterm is actually a unix application that uses X11, Leopard would automatically launch X11.
So in theory, you no longer need to so anything manually with X11 at all. You just launch your unix apps, and if they need X11, then Leopard will launch X11 for you, automatically.
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
Brass, is the X11 environment in Leopard still XFree86, or is it now X.org?
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Nov 2000
Location: Tasmania, Australia
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Junior Member
Join Date: Jan 2005
Status:
Offline
|
|
Originally Posted by Brass
Yeah, the point is that you launch a unix application that uses X11, and Leopard automatically launches X11 for you (this does NOT launch xterm).
Only manually launching X11.app (in /Applications/) will launch xterm, because what that actually does is just launch xterm directly, and because xterm is actually a unix application that uses X11, Leopard would automatically launch X11.
So in theory, you no longer need to so anything manually with X11 at all. You just launch your unix apps, and if they need X11, then Leopard will launch X11 for you, automatically.
how to write .command in OSX?
i tried to create a gqview.command and put "/sw/bin/gqview"
it behaves the same .... a terminal was opened along with the x11 app
|
---
Apple Macbook Pro 2.2GHz 15inch 2GB DDR2 RAM
LED Backlight, OSX 10.5.1 Leopard
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|