Mac OS X Tips

This page provides tips of Mac OS X such as useful commands for your work. We believe these tips might be useful for Mac OS X users and engineers who use Mac OS X.

For other tips, please go back to tips top page.

Search from the Internet:
Custom Search

Mac OS X Lion (10.7) Tips

Installing command line tools to /usr/bin

The command line tools, such as gcc, and make, are installed with Xcode by default until the version of Mac OS X Snow Leopard (10.6). However, The Xcode 4.3 that could be installed on Mac OS X Lion from App Store does not install these command line tools by default. Developers must install them by themselves.

Fortunately, the Xcode provides very simple way to install them. The procedure is summarized as follows.

  1. Launch Xcode.
  2. Open “Preferences” from the “Xcode” item on the menu bar.
  3. Select “Downloads” tab (icon).
  4. Click “Install” button for “Command Line Tools”. (Fig. 1)
“Install” button for “Command Line Tools”

Hot corners with control/shift/option/command key for Mission Control

Hot corner actions for Mission Control are powerful GUI for switching applications by using mouse/trackpad. However, some of the corners, especially left-top (close to the Apple mark), are bad for this functionality because users may move to a corner by mistake when focusing their cursor on a button or something at the corner. However, Mac OS X Lion has a good way to avoid this mistake. The way is described as follows.

Hot corner actions for Mission Control can be enabled with a special key; i.e., control, shift, option, or command key. The special key is specified selecting the hot corner action while pressing the special key that you want to use. For example, Fig. 2 shows that Mission Control acts when the cursor moves to right-top corner while pressing control key (marked by ^). This action was selected while pressing control key.

Hot corner actions with a special key for Mission Control