Stop XQuartz from showing icon in the OSX dock and stop loading xterm on start

Edit /Applications/Utilities/XQuartz.app/Contents/Info.plist as root (ie, sudo vim in a terminal), and add the following key/value inside of <dict>:

<key>NSUIElement</key>
<string>1</string>

…. and in your terminal run defaults write org.macosforge.xquartz.X11 app_to_run /usr/bin/true, and then restart XQuartz: the dock icon should be gone and it shouldn’t start xterm anymore.

Written by
Open Source software architect and technologist. He's just this guy, you know? Follow him him on Google+.
Published in
Transmissions from the Little Blue Marble

Published November 18th, 2014

Comments

2 Responses

Hi! I edit the plist with nano, after that i run the command replacing “apptorun” by /Applications/Inkscape but don’t work for me. Any other help? Thanks in advice!

I think you have to specify the binary itself, which is somewhere in that directory.

Leave a Reply to Patrick McFarland