MacBook Pro with Mountain Lionセットアップ
仕事用に使うMacBook Proのセットアップ
System Preferences
デフォルトから変更した項目のみ記述。
Personal
- General
- Recent items: None
- Dock
- 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
- Keyboard
- Trackpad
- Point & Click
- Tracking Speedは真ん中
- More Gestures
- チェック: App Expose
- Point & Click
- Sound
- チェックを外す: Show volume in menu bar
Internet & Wireless
- iCloud
- 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
- Clock
- Time Machine
- チェックを外す: Show Time Machine in menu bar
OS X付属アプリ
Finder
- New Finder windows show: ホームディレクトリ
- サイドバーに表示する項目
- チェック: Show all filename extensions
- When performing a search: Search the Current Folder
- パスバーを表示する
Calendar
- Default Calendar: GoogleのMy Schedule
- 必要なGoogleカレンダーを同期
Dictionary
- 和英/英和辞書、Dictionary、国語辞書、...の順
- ウィズダム英和・和英辞書 (Japanese-English)
- New Oxford American Dictionary (American English)
- スーパー大辞林 (Japanese)
- General
- Tabs
- Open pages in tabs instead of windows: always
- Advanced
- Default encoding: Japanese (Shift JIS)
- チェック: Show Develop menu in menu bar
- ブックマークバーは表示しない
- タブバーを常に表示
- Extensions
- 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くらいに
- シェルが正常に修了した場合はウィンドウを閉じる
- お気に入りの設定を「My 設定名」のようにコピーし、以下の設定を追加
- Startup
- On startup, openにて、上で定義した設定を選択
App Storeアプリケーション
- DownloadsからCommand Line Toolsをインストール
The Unarchiver
- Extract to the same folder
- 次は対象ファイルとしない: Zip
1Password
- Dropbox上のkeyファイルを使用
- Dropboxインストール後に設定
- Safari、Chrome用の拡張をインストール
- チェックを外す: Extensions::Show helper icon in menu bar
ToyViewer
Go2Shell
アプリケーション
- 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アカウントと同期
- すべてを同期
- Settings: On startup: Continue where I left off.
- Warn Before Quitting
- Chromeメニューから
- Set Up Automatic Updates for All Users
- Helpページから
- 拡張
- Clearly
- Evernote Web Clipper
- Open notes in: Desktop client
- チェックを外す: Enable contextual menus
- チェック: Related Results
- Google Reader Open entry in background tab
- 1Password
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
- Emacs 24をOS Xにインストールする | PiyoPiyoDuckyを参考にインストール
- 具体的には以下の通りに実施
$ 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 にコピー
- redo+が使えなくなったので、Emacs24.3の導入とundo-tree.elの紹介 #Emacs - Qiitaを参考にundo-treeを設定
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
- 圧縮ファイルの中身をQuicklook
- git cloneして取得した「BetterZipQL.by.FARFANOIDE.qlgenerator」をインストール
$ git clone https://github.com/farfanoide/BetterZ-QuickLook-plugin-theme-for-Lion
QLColorCode 2.0.2
- ソースコードを色づけなどしてQuicklook
- 文字化け対策(QLColorCode.qlgenerator/Contents/Resources/colorize.shを編集)
- cmdOptsの--encodingオプションをutf-8決め打ち
- reader=(/usr/local/bin/nkf -w $target)
- 詳細はMacBook Proを設定したときのメモ
- 設定の微調整
$ defaults write org.n8gray.QLColorCode fontSizePoints 8 ← フォントサイズを8pt $ defaults write org.n8gray.QLColorCode extraHLFlags '-l' ← 行番号を表示
QLMarkdown 1.3
- Markdown記法で書かれたファイルをQuicklook