Essential configuration of OS X

Getting a comfortable environment

Every year or so, I get a new Mac/MacBook and have to set it up. I created this page as a checklist of things to do.
This is a personal cheat sheet to configure OS X to my liking. Your needs are probably very different from mine.
Make the dock smaller and turn on mouse-over magnification:
Set this from System Preferences > Dock.
Pick your favorite wallpaper.
Set this from System Preferences > Desktop & Screen Saver. Why did Apple get rid of their collection of abstract patterns as wallpaper? I find photo backgrounds too distracting and solid colors a bit too boring.
Turn the Caps Lock key to a Control key

NOBODY NEEDS A CAPS LOCK KEY! Make it function like a Control key instead.

Open System Preferences, select the Keyboard and then select the Keyboard tab. Click on the Modifier Keys... button on the bottom-right part of the window. Change the Caps Lock modifier to be ^ Control and press OK.

Show character viewers in the menu bar
I often need to enter special characters (e.g, greek letters, math symbols, arrows) or need a reminder what some of the keyboard modifiers do. Open System Preferences, select the Keyboard and then select the Keyboard tab. Check the Show Keyboard, Emoji, and Symbol Viewers in Menu Bar box.
Customize character lists
Click on the Keyboard/Emoji/Symbol viewer in the top menu bar (it's the rectangle with the Apple command symbol on the right). Click onthe gear box on the top right of the window that opens and select Customize List.... Check:
  • Arrows
  • Bullets/Stars
  • Currency Symbos
  • Digits - All
  • Dingbats
  • Emoji
  • Enclosed Characters
  • Letterlike Symbols - All
  • Math Symbols
  • Parentheses - All
  • Pictographs
  • Punctuation - All
  • Sign/Standard Symbols
  • Technical Symbols
  • European Alphabetic Scripts
    • Greek
    • Latin
Enable URL display
As of OX X Yosemite, Safari no longer shows the address of a web page by default. In Safari, go to Preferences. Click on the Advanced tab (far right). Select “Show full website address” in the Smart Search Field label at the top.
Show all file extensions in the finder:

There are two reasons I set this. First, I don't need the mystery of hidden text in my file names. Second, OS X is forgiving if an extension is missing. For example, you can open a jpeg file even if it doesn't have a .jpg suffix. This will really confuse Microsoft Windows if you move the file to that system.

Enter the Finder (click on the leftmost icon in the dock or on the Macintosh HD icon). Then select Finder > Preferences > Advanced and check show all filename extensions.

Reduce the desktop icon size
Even on my 27" and 30" monitors, I like my desktop icons a bit smaller (ditto for the dock). Right click (control click) anywhere on the screen and select Show View Options. I resized mine to 36x36 but that's just a personal preference. With the touchpad on a notebook, you can change the desktop icon size dynamically by pinching or unpinching the touchpad with the mouse focus on the display.
Show the remaining battery life in the menu bar
Click on the battery icon in the menu bar. Select Show > Time.
Name your machine
Go to System Preferences and select Sharing. The name entry box is on the top.
Enable root access

A lot of people recommend against enabling the root account, and suggest using the sudo command instead. I use root access too often and don't have the patience to type the extra characters before everything that needs to run as root.

See Enabling and using the "root" user in Mac OS X.

  1. Choose System Preferences from the Apple menu
  2. Choose Users & Groups from the View menu.
  3. Click the lock icon on the bottom left of the window and authenticate.
  4. Click Login Options at the bottom of the list of users.
  5. Click the Join... button next to Network Account Server:
  6. Click on OpenDirectory Utility... in the window that pops up.
  7. Select Enable Root User on the Edit menu.
  8. Choose and enter a root password in both the Password and Verify fields, then click OK.
Enable the right mouse button

Make sure that right clicking is enabled on your mouse. It probably is, so you can skip this step. If you're using an Apple Magic Mouse, open System Preferences, select Mouse, and make sure the Point & Click tab is selected. Make sure the Secondary click item is checked.

If you're using a generic two-button mouse (or scroll mouse), System Preferences, select Mouse. The Primary mouse button is typically set to Left.

Show the date and time on the top menu bar

Apple's time display doesn't show the date by default. If you just want to see the time with the day and date displayed, click on the date and select Open Date & Time Preferences.... Select the Clock tab. Under Date options, select Show date.

If you'd like to see a monthly calendar when you click on the date and have options to configure the display of the date and time, there are several programs that do the job. I've never used MagiCal. I used MenuCalendarClock in the past but am happy with the minimalism of Day-O. Unfortunately, Day-O is no longer updated and is a bit buggy since the release of OS X El Capitan.

Since these programs replace the clock, you need to disable OS X from showing the clock. Run System Preferences and select Date & Time. Then select Clock in the list of buttons on the top. Uncheck Show date and time in menu bar.

Day-O

Day-O is a free menu bar replacement clock that shows a monthly calendar when you click the clock.

Download the Day-O zip file here. Navigate to your Downloads folder and, within the Day-O folder, drag Day-O.app to Applications/Utilities. Run it. Click on the clock and select Preferences. Uncheck "Show Icon" and check "Launch Day-O at login". Set the day/time format to E MMM d h:mm a.

MenuCalendarClock

Note: These instructions may be outdated. I stopped using MenuCalendarClock since they went to a non-free license. Like Day-O, I don't think the software is supported anymore.

Download MenuCalendarClock from Objectpark software. Drag the program to Applications/Utilities. Run it (double-click on it). Now configure it:

  • Click on the calendar icon on the top-right of the screen (on the menu bar) and then the gear icon under the calendar that pops up to get to Preferences.
  • I uncheck "show calendar week numbers" and check "show Sundays in red"
  • Under the Menu Item tab, I check "Show Clock" and select the following Custom Clock Format (the items before the colon are the number one followed by the uppercase i):
    	%a %b %e %1I:%M %p
    
    This gives me a display in the format:
    	Mon Feb 4 1:37 PM
    
    Set whatever you like. The program gives you some format choices or you can use the syntax of strftime to set your own format.
  • Hit Update and uncheck Show Calendar Icon. If it doesn't update, try toggling the left/right position buttons.
  • Have the program start when you log in: open Preferences, select Accounts, and select Login Items for your account. Drag MenuCalendarClock from the finder window into the login items window.
  • To keep the program's icon from showing up in the dock, select Hide Dock Icon by selecting Display Preferences > Display > Advanced.
MagiCal
Download it here.
  • Now go to System Preferences, select Date & Time, and uncheck "show date and time in menu bar". This disables Apple's clock display.
  • Change Mail's copy address behavior
    Starting in OS X 10.6, Mail's Copy Address copied the name together with the address in angle brackets. To just copy the email address onto the clipboard, run this in Terminal:
      defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool NO
    
    Install Onyx
    Go to Titanium's Software and download Onyx. This is a useful utility for cleaning out caches and running maintenence scripts (particularly useful if you shut your machine off to keep scheduled jobs from running). There are other similar tools out there but this one is free and seems to be at least as good as the others.
    Bring the shell to the dock:

    I use the shell (a.k.a. Terminal) a lot. If you don't then this is useless to you.

    Open the finder. Select Applications/Utilities. Click and drag Terminal.app (or just Terminal if you don't show all extensions) to the dock.

    Have the terminal close when you exit the shell cleanly:
    Launch Terminal. Select Terminal>Preferences>Settings>Shell. Select Close if the shell exited cleanly for When the shell exits:.
    Create a .bash_profile
    If you use a shell, you'll want a .bash_profile in your home directory. What you put in your profile is really up to you. Among other things, I stick in an
     export BC_ENV_ARGS=-q
     PS1="\h|\W: "
    
    The first keeps bc from printing a copyright notice. The second sets the prompt to the hostname|base_name_of_current_directory:. If you don't use bc (or the shell), then you won't care.
    Install gcc and other useful tools

    You can't survive without a compiler. Go to the App Store and search for Xcode. It's almost a 3GB download, so be patient. After you download it, run Install Xcode.app (under /Applications) to install Xcode and then delete Install Xcode.app.

    Install Dropbox
    I keep a lot of key shared stuff on dropbox. Get it from here.
    Install Microsoft Office
    Still a de facto standard. I get it from Office 365. If you have a non-subscription version installed, copy:
    	copy /Library/Preferences/com.microsoft.office.licensing.plist
    
    from a computer that already has MS-Office installed.
    Move Microsoft User Data out of Documents.

    If you install Microsoft Office, you'll notice that running any of its applications causes a directory called Microsoft User Data to be created under Documents. This, IMO, wasn't a great design decision. The Documents directory in general holds things that you care about, not system configuration files. Move this directory to Library/Preferences under your home directory:

    mv ~/Microsoft\ User\ Data ~Library/Preferences
    

    If, by the way, you want to make the Library directory visible in the finder, run this shell command:

    setfile -a v ~/Library
    

    To make a file invisible to the finder, use setfile -a V.

    If you want to make all hidden files visible in the finder, run this command:

    defaults write com.apple.finder AppleShowAllFiles TRUE
    

    and then restart the finder with:

    killall Finder
    

    Change the last parameter to FALSE to undo this. I choose not to do this because I don't want extra clutter in my finder view and hidden files are rarely of interest to me.

    Install Evernote
    I live on this. Get it from the App Store. You can also use Microsoft One Note, Apple Notes, Google Keep, etc.
    Install additional software
    Other softwrae I use:
    • Adobe Creative Cloud (Photoshop & Lightroom)
    • OmniDiskSweeper
    • iWork
    • OmniGraffle Professional
    • iBooks Author
    • Printopia
    Disable automatic playing of songs during import on iTunes
    defaults write com.apple.iTunes play-songs-while-importing FALSE
    

    *****

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh

    Duis ultrices dolor sed erat.

    Praesent ultrices, turpis vel feugiat tristique, mauris ligula pellentesque urna, quis interdum est enim mollis sem.

    Ellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Praesent orci leo, suscipit vel, pretium eu, viverra at, eros. Morbi cursus.