Jade's weblog Archive

Use X11 from Apple's Terminal app

This is the coolest tip I've heard in a while. I didn't even realize it was possible...

In your /etc/profile:

# System-wide .profile for sh(1)

# added to allow X11 applications to run
if [[ -z $DISPLAY ]]
then
export DISPLAY=:0.0
fi

PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin"
export PATH

[ -r /etc/bashrc ] && source /etc/bashrc

Open up X11, and now you can use X11 apps from the terminal. Nice!

You can set up X11 to boot on startup, in the background, and now you have seamless X11 / Terminal use.

12:12 PM, 12 Nov 2004 by Jade Rubick Permalink | Comments (1)

XML