MacBook Pro with Mountain Lionセットアップ

仕事用に使うMacBook Proのセットアップ

System Preferences

デフォルトから変更した項目のみ記述。
Personal

  • General
    • Recent items: None
  • Dock
    • サイズを小さめにして、右に表示
    • チェック: Minimize windows into application icon
    • チェック: Automatically hide and show the Dock
    • DockにはFinder、Terminal、SafariChrome、Mail、Calendar、System Preferencesのみを表示
  • Mission Control
    • チェックを外す: Show Dashboard as a space
  • Language & Text
    • チェック: Allow a different one for each document
  • Spotlight
    • Documents、Folders、Images、PDF Documents、Music、Movies、Presentations、Spreadsheets、Developer(Xcodeインストール後?)のみ検索結果に表示
    • ~/bin、~/tmp、~/Downloads、~/Desktopを検索対象から外す

Hardware

  • Energy Saver
    • バッテリー時、コンピュータは15分後にスリープ、ディスプレイは5分後にスリープ
    • 電源アダプタ使用時、コンピュータはスリープしない、ディスプレイは15分後にスリープ
  • Keyboard
    • Keyboard
      • Key Repeat: Fastest
      • Delay Until Repeat: Shortest
      • チェック: Use all F1, F2, etc. keys as standard function keys
    • Keyboard Shortcuts
      • Tabですべてのコントロール間を移動できるように
      • 無効にするショートカット
        • Launchpad & Dock::Turn Dock Hiding On/Off
        • Mission Control::Show Dashboard
        • Spotlight::Show Spotlight search field
      • 変更するショートカット
        • Mission Control::Show Notification Center: F12 (default is unset)
        • Keyboard & Text Input::Move focus to next window: Command + F1 (default is Command + `)
        • Spotlight::Show Spotlight window: Ctrl + Shift + Enter (default is Control + opt + Space)
      • 追加するショートカット
        • Application Shortcuts::All ApplicationsでZoom: Command + F10
      • 無効にするサービス
        • Services::Text::Make New Sticky Note
  • Trackpad
    • Point & Click
      • Tracking Speedは真ん中
    • More Gestures
      • チェック: App Expose
  • Sound
    • チェックを外す: Show volume in menu bar

Internet & Wireless

  • iCloud
    • Calendars & Reminders、Safari、Documents & data、Find My Macを有効
  • Mail, Contacts & Calendars
    • Googleのアカウントを追加、Calendars & Reminders、Messagesを同期
  • Bluetooth
    • 当面使わないのでOff
    • チェックを外す: Show Bluetooth in menu bar
  • Sharing
    • ホスト名を変更

System

  • Users & Groups
    • Login Options: Automatic login: メインで使用するアカウント
  • Date & Time
    • Clock
      • チェック: Use a 24-hour clock
      • チェック: Show date
  • Time Machine
    • チェックを外す: Show Time Machine in menu bar

OS X付属アプリ

Finder

  • New Finder windows show: ホームディレクト
  • サイドバーに表示する項目
    • FAVORITES: Macintosh HD(個別追加)、Applications、ホームディレクトリ、Desktop
    • SHARED: Back to My Mac、Connected servers、Bonjour computers
    • DEVICES: Hard disks、External disks、iDisk、CDs, DVDs, and iPods
  • チェック: Show all filename extensions
  • When performing a search: Search the Current Folder
  • パスバーを表示する

Calendar

Dictionary

Safari

  • General
    • Safari opens with: All windows from last session
    • New windows open with: Same page
    • New tabs open with: Top Sites
    • Homepage: topsites://
    • Remove download list items: When Safari Quits
    • チェックを外す: Open "safe" files after downloading
  • Tabs
    • Open pages in tabs instead of windows: always
  • Advanced
    • Default encoding: Japanese (Shift JIS)
    • チェック: Show Develop menu in menu bar
  • ブックマークバーは表示しない
  • タブバーを常に表示
  • Extensions

Mail

  • General
    • チェックを外す: Play sounds for other mail actions
    • Remove unedited downloads: When Mail Quits
  • Junk Mail
    • When junk mail arrives: Move it to the Junk mailbox
    • すべてのメールを迷惑メールフィルタの対象にする
  • Viewing
    • チェックを外す: Show online buddy status
  • Composing
    • Message Format: Plain Text
    • チェック: Automatically "CC:" myself

Terminal

  • Settings
    • お気に入りの設定を「My 設定名」のようにコピーし、以下の設定を追加
      • テキストをアンチエイリアス処理
      • ウインドウサイズの行を50くらいに
      • シェルが正常に修了した場合はウィンドウを閉じる
  • Startup
    • On startup, openにて、上で定義した設定を選択

App Storeアプリケーション

Xcode

  • DownloadsからCommand Line Toolsをインストール

The Unarchiver

  • Extract to the same folder
  • 次は対象ファイルとしない: Zip

1Password

  • Dropbox上のkeyファイルを使用
    • Dropboxインストール後に設定
  • SafariChrome用の拡張をインストール
  • チェックを外す: Extensions::Show helper icon in menu bar

Evernote

ToyViewer

Go2Shell

アプリケーション

Dropbox

  • Dropboxフォルダーは~/Dropbox
    • 1Passwordとの連携のため
  • チェック: Use black and white menu bar icons
  • チェックを外す: Enable Dropbox camera import

Quicksilver 1.0.0

  • 初回起動時のウィザード
    • Pluginは何も入れない
    • Hot Key: Ctrl + Enter
  • Preferences
    • チェック: Start at login
    • チェックを外す: Show icon in dock
  • Catalog
    • System::Configurationをすべて外す
    • User::Homeのみ残す
    • Customにて~/binと~/workを1階層のフォルダとして追加

AppCleaner 2.1.0

  • Utilitiesにインストール
  • 自動的に更新を確認

TinkerTool 4.95

  • Utilitiesにインストール
  • チェック: Finder::Network access: Don't create hidden .DS_Store files over a network connection
  • チェック: Dock::Restricted Dock: Don't allow to change size manually
  • Dock::Placement: Start Position
  • チェックを外す: Applications::Mail::Include names when copying e-mail address to pasteboard

Google Chrome

Skype

coconutBattery 2.8

  • Utilitiesにインストール

Glims 1.0.38

  • Safariにいろいろな機能を追加
  • インストール時に聞かれるDefault Search Engineには「Google with SSL」を選択
  • 以下、有効にした項目のみを列挙。これら以外はオフにしている
  • General: Add Search Engines
  • General: Restore Tabs at Launch
  • General: Other Tabs Improvements
  • General: Bookmarks Bar Additions
  • Search Engines List
  • Search Engines Options: Show "return to last search" icon in location bar when available
  • Tab Misc.: Show Favicon on tab label
  • Tab Misc.: Undo "Close Tab"
  • Bookmarks: Replace bookmarks titled "-" with menu separator
  • Bookmarks: Display bookmark folders which name starts with "-#-" as labels
  • Updates: Automatically check for updates

Microsoft Office:mac 2011

Emacs 24

$ mkdir -p ~/tmp/emacs-build
$ cd ~/tmp/emacs-build
$ wget http://ftp.gnu.org/pub/gnu/emacs/emacs-24.3.tar.xz
$ wget https://gist.github.com/ganta/5139150/raw/8f6fc32747c40a51de597ce73085f56764a7d3ed/japanese-patch-for-emacs-24.3.patch
$ tar xf emacs-24.3.tar.xz
$ cd emacs-24.3
$ patch -p0 < ../japanese-patch-for-emacs-24.3.patch
$ ./configure --with-ns --without-x && make -j4 && make install
#### nextstep/Emacs.app を /Applications にコピー

Mendeley v1.8.4

  • Document Detailsの全てのタイプで「Citation Key」にチェックを入れる。
  • Document Details: Web page: Mediumにチェック(howpublishedを有効、参考
  • BibTeX: Escape LaTeX special charactorsのチェックを外す。

Drag & Drop UpTeX 20111010

Cyberduck 4.3.1

XQuartz 2.7.4

Unix環境

  • デフォルトシェルはzsh
$ chsh -s /bin/zsh
  • sshの鍵をコピー
  • ホームディレクトリ用ファイルをSubversionリポジトリからチェックアウト
  • ~/.CFUserTextEncodingを編集
    • 英語環境を使うけど、一部のアプリケーションで日本語環境であると(誤)認識させるため
$ echo -n '1:14' > ~/.CFUserTextEncoding
    • このファイルの内容は環境変数 __CF_USER_TEXT_ENCODING の末尾につく。1:14は日本語環境であることを表す。英語は0:0になる。

Homebrew

Homebrewの初期設定
$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
$ brew doctor
$ brew update
パッケージインストール
$ brew install lv
$ brew install nkf
$ brew install stow
$ brew install wget
$ brew install ruby
$ brew install sshfs
$ brew install ipcalc
$ brew install global
$ brew install ctags

Quick Look generator

すべて /Library/QuickLook 以下にインストール。インストール後、「qlmanage -r」を実行。
QLStephen

  • 拡張子のついていないファイルの内容をQuickLook

Betterz Quick Look Plugin

  • 圧縮ファイルの中身をQuicklook
  • git cloneして取得した「BetterZipQL.by.FARFANOIDE.qlgenerator」をインストール
$ git clone https://github.com/farfanoide/BetterZ-QuickLook-plugin-theme-for-Lion

QLColorCode 2.0.2

$ defaults write org.n8gray.QLColorCode fontSizePoints 8
  ← フォントサイズを8pt
$ defaults write org.n8gray.QLColorCode extraHLFlags '-l'
  ← 行番号を表示

QLMarkdown 1.3

  • Markdown記法で書かれたファイルをQuicklook