{"id":2279,"date":"2014-11-18T19:11:06","date_gmt":"2014-11-19T00:11:06","guid":{"rendered":"http:\/\/adterrasperaspera.com\/blog\/?p=2279"},"modified":"2015-05-09T04:43:46","modified_gmt":"2015-05-09T08:43:46","slug":"stop-xquartz-from-showing-icon-in-osx-dock","status":"publish","type":"post","link":"https:\/\/adterrasperaspera.com\/blog\/2014\/11\/18\/stop-xquartz-from-showing-icon-in-osx-dock\/","title":{"rendered":"Stop XQuartz from showing icon in the OSX dock and stop loading xterm on start"},"content":{"rendered":"<p>Edit <code>\/Applications\/Utilities\/XQuartz.app\/Contents\/Info.plist<\/code> as root (ie, <code>sudo vim<\/code> in a terminal), and add the following key\/value inside of <code>&lt;dict&gt;<\/code>:<\/p>\n<blockquote><p><code>&lt;key&gt;NSUIElement&lt;\/key&gt;<br \/>\n&lt;string&gt;1&lt;\/string&gt;<\/code><\/p><\/blockquote>\n<p>&#8230;. and in your terminal run <code>defaults write org.macosforge.xquartz.X11 app_to_run \/usr\/bin\/true<\/code>, and then restart XQuartz: the dock icon should be gone and it shouldn&#8217;t start xterm anymore.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Edit \/Applications\/Utilities\/XQuartz.app\/Contents\/Info.plist as root (ie, sudo vim in a terminal), and add the following key\/value inside of &lt;dict&gt;: &lt;key&gt;NSUIElement&lt;\/key&gt; &lt;string&gt;1&lt;\/string&gt; &#8230;. 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&#8217;t start xterm anymore.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[404],"tags":[],"_links":{"self":[{"href":"https:\/\/adterrasperaspera.com\/blog\/wp-json\/wp\/v2\/posts\/2279"}],"collection":[{"href":"https:\/\/adterrasperaspera.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adterrasperaspera.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adterrasperaspera.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/adterrasperaspera.com\/blog\/wp-json\/wp\/v2\/comments?post=2279"}],"version-history":[{"count":7,"href":"https:\/\/adterrasperaspera.com\/blog\/wp-json\/wp\/v2\/posts\/2279\/revisions"}],"predecessor-version":[{"id":2291,"href":"https:\/\/adterrasperaspera.com\/blog\/wp-json\/wp\/v2\/posts\/2279\/revisions\/2291"}],"wp:attachment":[{"href":"https:\/\/adterrasperaspera.com\/blog\/wp-json\/wp\/v2\/media?parent=2279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adterrasperaspera.com\/blog\/wp-json\/wp\/v2\/categories?post=2279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adterrasperaspera.com\/blog\/wp-json\/wp\/v2\/tags?post=2279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}