Setup the New Macbook Air 13
新しいMacBook Airのセットアップ
新しいMacbook Air 13" を手に入れたので、インストールしたまとめと感想など。
買ったモノ
Macbook Air 13" の標準構成のものにメモリを8GBに増やしただけのものです。以下はそのシステム構成。
室内用ってことで、ギガビットEternetアダプタもつけています。
- 1.8GHzデュアルコアIntel Core i5(Turbo Boost使用時最大2.8GHz)
- 8GB 1,600MHz DDR3L SDRAM
- 128GBのフラッシュストレージ
- バックライトキーボード (US)
- Apple Thunderbolt - ギガビットEthernetアダプタ
インストールしたアプリ
Mac App Store から入れたものとダウンロードして入れたものを分けて記載。
Mac App Store
- WeatherSimple
メニューバーに天気を表示するアプリ。GeekToolでデスクトップに表示していたのだけど、普段隠れてしまうので、こちらにした。無料。 - VirusBarrier Express
リアルタイムでのアンチウィルスソフトは、後述するSophosを使っているのだけど、1社だけでは心もとないのので、常駐ではないアンチウィルスソフトを入れている。これは無料だが有料版もある。 - Growl
Macのソフトとしてはお馴染みの通知ソフト。有料。 - HardwareGrowler
ハードウェアを検知したらGrowlに通知を行うもの。IP変更検知、バッテリー残量なども通知してくれる。有料。 - Echofon for Twitter
iPhone版はすでにTweetbotに乗り換えてしまったが、デスクトップ版は相変わらずEchofonを利用している。これは有料版だが広告が表示される無料版もある。 - Reeder for Mac
質の良い有料のRSSリーダーソフト。GoogleReader経由でRSSを管理する。最近4桁たまるようになってきたので、なんとかしたい・・・ - Sparrow for Mac
メールソフト。Windows時代はThunderbirdを使っていたのだけど、使いづらさもあってこのソフトに乗り換えてからずっとこのアプリ。iOS版もある。 - Alfred
ランチャーソフトだが、ゴミ箱を空にしたり、ウィンドウを隠したり、計算したりと多種多様なことができる。MacAppStoreでは拡張が行えないが、開発会社サイトで販売しているバージョンでは拡張も行える版がある。MacAppStore版は無料。
ダウンロードして入れたもの
- Google 日本語入力
Google 日本語入力。ことえりでは物足りないので、利用している。使っているものは安定版。無料。 - Sophos Anti-Virus for Mac Home Edition
個人使用限定で、無料で提供されているアンチウィルスソフト。 - Messagesベータ版 & Safari開発版
Messagesベータ版は先日のWWDC以降リンクが消えているが直接ダウンロードすればまだ使える。 Safari開発版は6.0DeveloperPreviewのもの。 - Fluid
任意のWebサイトを専用ブラウザとして作成することができるソフト。一部機能(フルスクリーンモードなど)は有料。FacebookやLingrなどを開いている。 - Dropbox
オンラインストレージサービスで、複数のコンピュータのローカルファイルとの同期を行うソフト。もはや定番。
開発関係
- Xcode
OSX標準の開発ツール。安定版はMacAppStoreから導入可能。Xcodeを入れた後に設定のところから command line tools を別途入れる。 - iTerm2
OS付属のTerminalでは満足できない人向け。iTerm後継ソフト。Hotkey呼び出しも可能な上に最近 tmux 対応もしている。 - Macvim+kaoriya
サイトから引用: "MacVimに対して、香り屋パッチの統合、ローカライズ、MacVim固有の設定、日本語文字コード自動判別、必要なshared library、Perl/Python/Rubyのdynamic loading、Objective-C対応ctags、などを追加しています。" - git-tower
gitのGUIアプリ。普段はコマンドで行うがGUIで見たい場合や細かい動作を確認しながら行いたい時に利用。有料アプリ。 - Codekit
haml,less,scss/sass,CoffeeScriptなどのファイルを監視して更新されたら、自動でコンバートするソフト。これも有料アプリ。 - homebrew
OS標準のコマンドでは足りないものをパッケージとして提供している。MacPortsの代替として優秀。これを使って以下をひとまず入れている。
- autoconf
- automake
- bash
- bash-completion
- git
- hub
- openssl
- rbenv
- ruby-build
- readline
- tig
- vimpager
QuickLook
アプリではないけれど、QuickLookの拡張を入れている。
defaults
Macのdefaultsコマンドで変更したもの。
#!/bin/bash
echo "Sidebar icon size Small"
defaults write NSGlobalDomain NSTableViewDefaultSizeMode -int 1
echo "Disable menu bar transparency"
defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
echo "Show all filename extensions in Finder"
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
echo "Expand save panel by default"
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
echo "Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs)"
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
echo "Disable press-and-hold for keys in favor of key repeat"
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
echo "Set a blazingly fast keyboard repeat rate"
defaults write NSGlobalDomain KeyRepeat -int 0
echo "Set a shorter Delay until key repeat"
defaults write NSGlobalDomain InitialKeyRepeat -int 18
echo "Disable auto-correct"
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
echo "Disable opening and closing window animations"
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
echo "Increase window resize speed for Cocoa applications"
defaults write NSGlobalDomain NSWindowResizeTime -float 0.001
echo "Allow quitting Finder via ⌘ +Q; doing so will also hide desktop icons"
defaults write com.apple.finder QuitMenuItem -bool true
echo "Disable window animations and Get Info animations in Finder"
defaults write com.apple.finder DisableAllAnimations -bool true
echo "Use current directory as default search scope in Finder"
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"
echo "Show Path bar in Finder"
defaults write com.apple.finder ShowPathbar -bool true
echo "Show Status bar in Finder"
defaults write com.apple.finder ShowStatusBar -bool true
echo "Allow text selection in Quick Look"
defaults write com.apple.finder QLEnableTextSelection -bool true
# echo "Display full POSIX path as Finder window title"
# defaults write com.apple.finder _FXShowPosixPathInTitle -bool true
echo "Disable the warning when changing a file extension"
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
echo "Enable snap-to-grid for desktop icons"
/usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:arrangeBy grid" ~/Library/Preferences/com.apple.finder.plist
echo "Disable the warning before emptying the Trash"
defaults write com.apple.finder WarnOnEmptyTrash -bool false
echo "Disable shadow in screenshots"
defaults write com.apple.screencapture disable-shadow -bool true
echo "Automatically hide and show the Dock"
defaults write com.apple.dock autohide -bool true
echo "Minimize effect Suck"
defaults write com.apple.dock mineffect -string "suck"
echo "Make Dock icons of hidden applications translucent"
defaults write com.apple.dock showhidden -bool true
echo "Enable highlight hover effect for the grid view of a stack (Dock)"
defaults write com.apple.dock mouse-over-hilte-stack -bool true
echo "Enable spring loading for all Dock items"
defaults write com.apple.dock enable-spring-load-actions-on-all-items -bool true
echo "Show indicator lights for open applications in the Dock"
defaults write com.apple.dock show-process-indicators -bool true
echo "Don't animate opening applications from the Dock"
defaults write com.apple.dock launchanim -bool false
echo "Set the icon size of the Dock to 36 pixels"
defaults write com.apple.dock tilesize -int 36
echo "Make the animation for showing Dock faster and reduce the delay before it starts"
defaults write com.apple.dock autohide-time-modifier -float 0.6
echo "Remove the delay for showing the Dock in full screen"
defaults write com.apple.dock autohide-fullscreen-delayed -bool false
echo "Minimize in application"
defaults write com.apple.dock minimize-to-application -bool true
echo "Move Dock on the Left"
defaults write com.apple.dock orientation -string "left"
# echo "Enable AirDrop over Ethernet and on unsupported Macs running Lion"
# defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true
# echo "Disable disk image verification"
# defaults write com.apple.frameworks.diskimages skip-verify -bool true
# defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true
# defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true
echo "Avoid creating .DS_Store files on network volumes"
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
echo "Require password immediately after sleep or screen saver begins"
defaults write com.apple.screensaver askForPassword -int 1
defaults write com.apple.screensaver askForPasswordDelay -int 300
echo "Disable Safari’s thumbnail cache for History and Top Sites
defaults write com.apple.Safari DebugSnapshotsUpdatePolicy -int 2
echo "Make Safari’s search banners default to Contains instead of Starts With
defaults write com.apple.Safari FindOnPageMatchesWordStartsOnly -bool false
echo "Remove useless icons from Safari's bookmarks bar"
defaults write com.apple.Safari ProxiesInBookmarksBar "()"
echo "Enable only Safari resume"
defaults write com.apple.Safari NSQuitAlwaysKeepsWindows -bool true
echo "Disable the Ping sidebar in iTunes"
defaults write com.apple.iTunes disablePingSidebar -bool true
echo "Disable all the other Ping stuff in iTunes"
defaults write com.apple.iTunes disablePing -bool true
echo "Make ⌘ +F focus the search input in iTunes"
defaults write com.apple.iTunes NSUserKeyEquivalents -dict-add "Target Search Field" "@F"
echo "Disable send and reply animations in Mail.app"
defaults write com.apple.Mail DisableReplyAnimations -bool true
defaults write com.apple.Mail DisableSendAnimations -bool true
echo "Copy email address without brackets"
defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool false
echo "Show the ~/Library folder"
chflags nohidden ~/Library
echo "Disable local Time Machine backups"
hash tmutil &> /dev/null && sudo tmutil disablelocal
echo "Prevent Time Machine from prompting to use new hard drives as backup volume"
defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true
for app in Safari Finder Dock Mail SystemUIServer; do
killall "$app" >/dev/null 2>&1
done
その他
SSDの容量があまりないので、iTunesはMac miniにおいてあるモノをホームシェアリングで利用することにした。
環境ファイルについては、git
で管理しているモノをさくらのVPSに置いていて、 git clone && cd XXXX && sh setup.sh
だけで終わるようにしてあるので、それを使う。
バッテリー節約
- Fn+F5 / Fn+F6 でキーボードのバックライトの光量を調節できるので、最低にしておく。(オフにはしない)
- ディスプレイの輝度を下げる(Fn+F1)
軽く使ってみた印象
まずはバッテリーから。今日はインストールメインでバッテリーを消耗する行為が多かったのだが、それでも5時間はバッテリーが持ってくれた。バッテリー消耗対策などはしていない状態でこの時間持っているので、個人的には十二分だと思う。
また一度バッテリー放電しきってからフル充電まで行ったが、1時間50分から2時間程でフルに充電できるようだ。iPadよりも早く充電出来るのは良い部分。(単にiPadが遅すぎるという話だけど)
次に速度面だけど、もともと Mac mini (Early 2009) を使っていたので、 Ivy Bridge + SSD という環境は恐ろしく早く感じた。ディスク性能も格段に上がっているので、前の環境がとても遅く感じる様になってしまい、ギャップに慣れるまでは時間が掛かりそうだ。もちろん言うまでもないのだけど、本機のみで利用する分については、まったく問題がない。4コアでストレスなく動いてる感じがとても気持ち良い。
次に気になる熱の面は、概ねクリアと思っているのだが、キーボード中央裏の底面部分がかなり熱を持つ感じだ。逆にモニター部分などは全く熱が出ておらず、直接触れる部分だけに気になっている。ちなみに自分のMacBookAirは上にも書いてある通り、Ivy Bridge Core i5であるので、Core i7だとまた違うかもしれない。
全体としてよくできているし、とても満足しているが、ノートPCタイプは3年振り(前はHPの mini-1000を使っていた)なせいもあるが、トラックパッドに戸惑っている部分が非常に大きい・・・
トラックパッドのジェスチャーは慣れると便利そうなものばかりだが、3本指と4本指のジェスチャーがたまに混ざってしまうので、まずはこれに慣れることから始めたいと思います... orz
06/20 16:53 修正
defaults
コマンドによるDockに表示するiTunes
の通知機能が動かないようなので削除。
06/22 11:58 誤字脱字の訂正