MacOS – How to change default X11 application

macosmacportsx11

I compiled my own X11 Server for Mac OS X and want it to replace the original outdated X11.app supplied by Lion. How do I do that?

Best Answer

  1. cd to /usr/X11/bin
  2. rename the existing X symlink to Xquartz (to X_orig for example) in case you need to revert in the future to the "vanilla" config
  3. symlink X to your compiled binary.