The Menubar crashed/refuses to be clickable:killall -KILL SystemUIServer
—
To turn Dashboard off:
defaults write com.apple.dashboard mcx-disabled -boolean YES To turn Dashboard on: defaults write com.apple.dashboard mcx-disabled -boolean NO After any of these commands use the following to apply changes: killall Dock —
Screenshot Format (replace with jpg, pdf, png…)
defaults write com.apple.screencapture type pdf killall SystemUIServer —
Copy text from Preview
defaults write com.apple.finder QLEnableTextSelection -bool TRUE; killall Finder —
Show / Hide Hidden Files
defaults write com.apple.finder AppleShowAllFiles YES defaults write com.apple.finder AppleShowAllFiles NO Relaunch Finder —
Edit Hosts File
sudo nano /private/etc/hosts —
Enable / Disable local TimeMachine
sudo tmutil disablelocal sudo tmutil enablelocal — Prevent sleep caffeinate Prevent sleep for xsecconds caffeinate -i -t 3600 from http://snazzylabs.com/tutorial/five-advanced-tricks-for-mac-users/ or https://www.youtube.com/watch?v=uI4x0wvogco —
Frequency your Mac checks for Updates (-int xdays)