Aqua-X11 Interactions
Since X11-based applications rely on different graphics systems even when running XDarwin in rootless mode, you would not necessarily expect to see GUI interactions run smoothly between these two graphics systems. But actually, there are several such interactions that run very well.
First, it is possible to open X11-based applications from the
Terminal application. To launch an X11-based application from the
Terminal application, you need to set the shell environment variable
DISPLAY as follows for tcsh:
setenv DISPLAY 0:0
If you are using a Bourne-compatible shell, such as bash, you could use the following:
DISPLAY="0:0"; export DISPLAY
Tip
You may want to add this functionality to your startup configuration script .tcshrc (for tcsh) or .bashrc (for bash).
You can also copy and paste between X11 and Mac OS X applications. For example, to copy from an xterm, select some text with your mouse. This action places the selected text into the Mac clipboard. To paste the contents of the clipboard into a Mac OS X application (such as the Terminal), simply press ⌘-V to paste the text.
To copy from a Mac OS X application, highlight some text and press ⌘-C. The copied text can be pasted into an xterm window by pressing the middle button of a three-button mouse or by Command-clicking in the X11 application.
Tip
In Aqua, Mac OS X emulates right-mouse clicks with Control-click. In XDarwin, you can configure key combinations that simulate two- and three-button mice. By default, ...