{"id":5538,"date":"2012-08-03T20:21:22","date_gmt":"2012-08-04T01:21:22","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=5538"},"modified":"2013-10-25T13:35:19","modified_gmt":"2013-10-25T18:35:19","slug":"mountain-lion-settings","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2012\/08\/03\/mountain-lion-settings\/","title":{"rendered":"Mountain Lion Settings"},"content":{"rendered":"<p><a href=\"https:\/\/github.com\/mathiasbynens\/dotfiles\/blob\/master\/.osx?os-x-10.8\">Mathias Bynens<\/a> has posted a shell script with lots of commands (<tt>defaults write<\/tt> and otherwise) for tweaking OS X settings (via <a href=\"http:\/\/www.libertypages.com\/clarktech\/?p=4154\">Clark Goble<\/a>). There are a bunch that I hadn&rsquo;t seen before, but I want to draw particular attention to the use of <a href=\"http:\/\/developer.apple.com\/library\/mac\/documentation\/Darwin\/Reference\/ManPages\/man8\/PlistBuddy.8.html\">\/usr\/libexec\/PlistBuddy<\/a>, which somehow I&rsquo;d never seen before. I had been using <a href=\"http:\/\/developer.apple.com\/library\/mac\/documentation\/Darwin\/Reference\/ManPages\/man1\/defaults.1.html\">\/usr\/bin\/defaults<\/a> to manipulate arbitrary property list files (by passing a full path, minus the <tt>.plist<\/tt>), but I&rsquo;ve recently <a href=\"https:\/\/twitter.com\/Catfish_Man\/status\/229321407706832896\">been advised<\/a> not to use it for that.<\/p>","protected":false},"excerpt":{"rendered":"<p>Mathias Bynens has posted a shell script with lots of commands (defaults write and otherwise) for tweaking OS X settings (via Clark Goble). There are a bunch that I hadn&rsquo;t seen before, but I want to draw particular attention to the use of \/usr\/libexec\/PlistBuddy, which somehow I&rsquo;d never seen before. I had been using \/usr\/bin\/defaults [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[649,30,17],"class_list":["post-5538","post","type-post","status-publish","format-standard","hentry","category-technology","tag-esoteric-preferences","tag-mac","tag-mountainlion"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/5538","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=5538"}],"version-history":[{"count":3,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/5538\/revisions"}],"predecessor-version":[{"id":8076,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/5538\/revisions\/8076"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=5538"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=5538"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=5538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}