HOWTO | USE TERMINAL TO UNLOCK HIDDEN FEATURES
1 Change grabs save location By default, screen shots are saved to your desktop. A better bet is to stash them somewhere else, such as in your Pictures folder. To do this, use defaults write com.apple. screencapture location /Users/[your username]/ Pictures; killall SystemUIServer.
2 Create a dark mode shortcut Like Yosemite’s dark mode, but not activating it in System Preferences? Use sudo defaults write /Library/ Preferences/.GlobalPreferences.plist _HIEnableTheme SwitchHotKey -boolean true, log out and log in again. Now you can toggle dark mode via ç+≈+å+T.
3 Expand Save dialogs Save dialogs in OS X start off with a basic layout, and require you to click the arrow at the right of Save As to expand them. Use the command defaults write -g NSNavPanelExpandedStateForSaveMode -boolean true to enable the expanded mode by default.
4 Make Help a normal window Make the Help window behave like a normal one by using defaults write com.apple.helpviewer DevMode -boolean true. Now instead of always appearing and sitting on top of all the other windows, Help’s windows can be stacked just like any other window.
5 Convert text to audio Using Terminal, you can convert text documents to audio. Type say -o savedaudiofile.aiff -f (with a trailing space), drag your text file into the window and hit ® . An AIFF file will be saved in your present working directory. (Use iTunes to convert it to MP3 or AAC.)
6 Show hidden apps in the Dock OS X’s Dock displays which apps are running, but it doesn’t indicate those that you’ve hidden. Use the following command: defaults write com.apple.Dock showhidden -boolean yes; killall Dock. The Dock icons of any apps that you’ve hidden will now be semi-transparent. 7 Add a Recent Apps stack Run defaults write com.apple.dock persistentothers -array-add '{"tile-data" = {"list-type" = 1;}; "tile-type" = "recents-tile";}'; killall Dock. After the Dock restarts, it has a new stack showing recent apps. Right-click the stack for recent files or servers.
8 Add a Dock spacer Run defaults write com.apple.dock persistentapps -array-add '{"tile-data" = {}; tile-type = "spacer-tile";}'; killall Dock. Each time you do so, a blank space will be added to the Dock, which you can drag to organise your apps. Right-click a spacer to remove it.