{"id":2654,"date":"2017-11-14T08:16:19","date_gmt":"2017-11-14T16:16:19","guid":{"rendered":"http:\/\/www.wellgolly.com\/?p=2654"},"modified":"2017-12-18T13:58:14","modified_gmt":"2017-12-18T21:58:14","slug":"fixing-things-apple-broke","status":"publish","type":"post","link":"https:\/\/www.wellgolly.com\/?p=2654","title":{"rendered":"Fixing things Apple broke"},"content":{"rendered":"<p>Every time Apple updates the OS they break things that I rely on. Sometimes it\u2019s simple things like pinning the dock to the bottom of the screen. Other times it is things like making the menubar translucent. People usually figure out fixes and they are usually command-line switches. My Mac Mini is getting older, and recent updates to Xcode seem to have made the process of compiling apps much slower, so I\u2019m probably going to upgrade my computer in the near future. This post will be a collection of things that I can apply to my next Mac.<\/p>\n<p><strong>Apps no longer appear in the tab switcher.<\/strong><br \/>\nI noticed a while ago that if I close all of the windows in Safari after a while it does not appear in the app switcher list. According to <a href='https:\/\/mjtsai.com\/blog\/2017\/11\/13\/app-nap-automatic-termination-and-zombies-apps\/'>Michael Tsai<\/a> Safari and other apps are going into a new state called <em>App Nap<\/em>. You can prevent this with this line:<\/p>\n<p><pre><code class=\"preserve-code-formatting\">\ndefaults write -g NSDisableAutomaticTermination -bool TRUE<\/code><\/pre><\/p>\n<p><strong>Display File Extensions<\/strong><br \/>\n<pre><code class=\"preserve-code-formatting\">\ndefaults write NSGlobalDomain AppleShowAllExtensions -bool true<\/code><\/pre><\/p>\n<p><strong>Show the Library Folder<\/strong><br \/>\n<pre><code class=\"preserve-code-formatting\">\nchflags nohidden ~\/Library\/<\/code><\/pre><\/p>\n<p><strong>Show Hidden Files<\/strong><br \/>\nThis is useful for finding things like git repositories.<\/p>\n<p><pre><code class=\"preserve-code-formatting\">\ndefaults write com.apple.finder AppleShowAllFiles -bool true<\/code><\/pre><\/p>\n<p><strong>Restart Finder<\/strong><br \/>\nFor some of these you need to restart the Finder. You can do it with the <em>Force Quit<\/em> menubar item or the command line.<br \/>\n<pre><code class=\"preserve-code-formatting\">\nkillall Finder<\/code><\/pre><\/p>\n<p><strong>Use Xcode\u2019s Font in BBEdit<\/strong><br \/>\n<pre><code class=\"preserve-code-formatting\">\ncp -R \/Applications\/Utilities\/Terminal.app\/Contents\/Resources\/Fonts\/. \/Library\/Fonts\/<\/code><\/pre><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Every time Apple updates the OS they break things that I rely on. Sometimes it\u2019s simple things like pinning the dock to the bottom of the screen. Other times it is things like making the menubar translucent. People usually figure out fixes and they are usually command-line switches. My Mac Mini is getting older, and &hellip; <a href=\"https:\/\/www.wellgolly.com\/?p=2654\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Fixing things Apple broke<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"class_list":["post-2654","post","type-post","status-publish","format-standard","hentry","category-osx"],"_links":{"self":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts\/2654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2654"}],"version-history":[{"count":0,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts\/2654\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}