Hjertnes.wiki

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 Emacs.app, 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:

Hide Desktop icons

defaults write com.apple.finder CreateDesktop false; killall Finder

Disable OSX icons

defaults write com.apple.finder CreateDesktop -bool false && killall Finder

Hide Dock

defaults write com.apple.dock tilesize -integer 1 && killall Dock

Show all files in Finder

This enables Finder to display hidden files

defaults write com.apple.Finder AppleShowAllFiles true
killall Finder