MacOS Tricks

If Emacs can't read some of your folder

If you run OS X, and you for some reason struggle with opening files in some of the folders in your home folder, it is because of some dumb ass OS X security crap. The short reason is that Ruby is involved somehwere in launching, so you need to whitelist /usr/bin/ruby in Full Disk Access. Makes a lot of sense? Not for me either, but it works. If you don't figure out how to do this:

  • Open a terminal
  • cd /usr/bin
  • open .
  • Drag ruby to the full disk access list

Hide Desktop icons

defaults write CreateDesktop false; killall Finder

Disable OSX icons

defaults write CreateDesktop -bool false && killall Finder

Hide Dock

defaults write tilesize -integer 1 && killall Dock

Show all files in Finder

This enables Finder to display hidden files

defaults write AppleShowAllFiles true
killall Finder