The Mac OS X Terminal provides access to the UNIX shell on your Mac. This post is going to explore the different tweaking options that the Terminal can be used for, such as changing the sheet speed, changing hidden application icons in the dock, and more! Some of these tips can be found on the great Mac OSX Tips website as well.
One point I will make before delving into the wnderful world of tweaking, is that it is sometimes very helpful to save some of these tweaks as ‘aliases.’ For instance, now I may want to speed up the sheet display, but at some point maybe I won’t, but by that point I will have forgotten how to change it. Wouldn’t it be nice if I could simply type into Terminal ‘fastsheets’ to set the sheet display speed to fast and ‘slowsheets’ to set the sheets back to normal. More information on aliases coming soon!
Note: All tweaks listed are easily reversible, and the default settings will be displayed under each tweak, so you can easily and readily go back to the system default if needed.
Change Mac Sheet Display Speed
For those who are unfamiliar, "sheets" are the panes that slide down from the top of the screen in an application. An example of this are the menus in Firefox, Word, TextEdit, and other applications. However, I personally find the display speed to take too long for me; I want my computer to run quickly and display quickly, not take a long time to show me a dialog. Fortunately, there is a fix! In the Terminal, simply type:defaults write NSGlobalDomain NSWindowResizeTime .001
You do not necessarily need it to be as fast as .001, so choose a number that suits you.
Reset: The default value for the sheet display speed is .2
Translucent Dock Icons
This has easily been one of my favorite tweaks ever. Normally, you can press Command+H to hide an application, or on the main menu you can select hide. However, wouldn’t it be nice to actually see that the application is hidden? This tweak will make the Dock icon of any hidden application appear translucent.
defaults write com.apple.Dock showhidden -bool YES
Reset: Run the command in Terminal, using NO instead of YES
Deactivate Dashboard
Perhaps the most useful tip for some, and perhaps quite useless for others. I personally love this hack, as the Dashboard takes up more memory than I would like, especially when you have more than a few widgets running. The following command will disable the Dashboard, but it takes two commands – one to disable the dashboard, and one to restart the dock. This is perfectly reversible with no harm done.
1. defaults write com.apple.dashboard mcx-disabled -boolean YES
2. killall Dock
Reset: Run the commands again in Terminal, using NO instead of YES
Screensaver as Background
This is a very memory intensive hack, but is kind of cool as well. I use this occasionally just for fun, or if I have a nifty screensaver that I want to see on my desktop. I normally have an alias entitled ‘screenbg’ which will run the command.
/System/Library/Frameworks/ScreenSaver.framework/Resources/ ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background
Whatever screensaver is currently set under System Preferences will now be displaying on your desktop.
Reset: In the Terminal window, press the interrupt command, Ctrl+C to end the command
iTunes Arrows
As you may have noticed, clicking on an arrow next to an artist’s or album’s name in iTunes will take you to their albums in the iTunes music store. This tweak will instead search your iTunes library for the artist or album.
defaults write com.apple.iTunes invertStoreLinks -bool YES
Reset: Run the command again in Terminal, using NO instead of YES
Finder Display Hidden Files
A simple command that will have the finder display all those hidden files cluttering up your system.
defaults write com.apple.finder AppleShowAllFiles TRUE
Reset: Run the command again in Terminal, using FALSE instead of TRUE
Safari Debug Menu
A nifty little debug menu that offers you many different options, such as accessing the Javascript Console, user agents, etc. Always worth having.
defaults write com.apple.safari IncludeDebugMenu 1
Reset: Run the command again in Terminal, using 0 instead of 1
Skip Disk Image Verification
CAUTION: This may not always be the most advisable method! Some disk images may in fact be corrupt, at which time you will wish that you had verification enabled. I, however, am usually a bit trusting, and will only download images from sites I know, so I do not mind turning verification off, which speeds up mounting disk images.
com.apple.frameworks.diskimages skip-verify TRUE
Reset: Run the command again in Terminal, using FALSE instead of TRUE
Expanded Save Dialog
This tweak will display the fully expanded save dialog as the default, instead of the one line dialog box.
defaults write -g NSNavPanelExpandedStateForSaveMode -bool TRUE
Reset: Run the command again in Terminal, using FALSE instead of TRUE
Address Book Debug Menu
defaults write com.apple.addressbook ABShowDebugMenu -bool true
Reset: Run the command again in Terminal, using FALSE instead of TRUE
Preview’s PDF Zoom
Sometimes, the zoom level in Preview is set at an outrageous amount when it is opened through Spotlight, way above 100%. To change the default zoom in Preview, simply type in the following command. (NOTE: 10=100%). This problem is often encountered when Spotlight opens a PDF and highlights the search term.
defaults write com.apple.Preview Preview -dict-add PVPDFSpotlightSelectionSize 10
Reset: Run the command again in Terminal, using 10 at the end instead of the custom number you used.