Terminal(.app) is not an X11 application, it's an Aqua/Cocoa application, so the answer is the obstacles are insurmountable. In X11, you'd use xterm or one of its many variants. I'm assuming you're asking how you can use Terminal to access X11 applications, and the answer is there's no fricking way. It's kinda like asking if a taxi drivers in Paris will understand your English, sorta.mmmdreg said:What are the obstacles that must be overcome to make X11 and terminal one and the same?
daveL said:Terminal(.app) is not an X11 application, it's an Aqua/Cocoa application, so the answer is the obstacles are insurmountable. In X11, you'd use xterm or one of its many variants. I'm assuming you're asking how you can use Terminal to access X11 applications, and the answer is there's no fricking way. It's kinda like asking if a taxi drivers in Paris will understand your English, sorta.
All you are doing is indirectly starting up the X11 environment from Terminal. I don't think that was the question, but I could be wrong (where's the original poster?)mkrishnan said:If it's the latter, well, it isn't totally impossible, depending on how you access the app. For instance, I have GIMP on my computer (the GIMP.app version), which is an X11 app. I can launch it from Terminal using 'open gimp.app' just like any other app.....
As for laynching xapps that are direct executable files, and not .app containers, this is also possible, although you need to do a couple of extra things:
1) Set the display variable:
DISPLAY = :0.0
export DISPLAY
2) Add the bin directories to your path (optional)
3) You can then run xapps such as xcalc and xeyes, which are found in /usr/X11R6/bin/ from the Terminal just as you would from an xterm.
daveL said:All you are doing is indirectly starting up the X11 environment from Terminal. I don't think that was the question, but I could be wrong (where's the original poster?)
yippy said:I think what he was saying is that having two different command lines is annoying. Can't you just do all of your terminal commands from the X11 command prompt?