Skip to main content

Mac

Change Dock Size From Terminal

defaults write com.apple.dock tilesize -int 32; killall Dock

Fix sound

sudo killall coreaudiod

Fix Xcode

sudo rm -rf $(xcode-select -print-path) # Enter root password. No output is normal.
xcode-select --install

reference: https://github.com/nodejs/node-gyp/issues/1927#issuecomment-546479900

Rearrange Launchpad

rm ~/Library/Application\ Support/Dock/*.db; defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock;

reference: https://apple.stackexchange.com/questions/280803/how-to-remove-blank-icon-from-launchpad-after-uninstall-app