run setup.sh
$ git clone git@github.com:kibitan/setup_mac.git ~/setup_mac
$ cd ~/setup_mac
$ ./setup.sh
-
if
permittion denied
happen, then trysudo chmod 0775 /usr/local/etc
-
if
Permission denied (publickey).
happen and not import.ssh
yet, then try to use$ git clone https://github.com/kibitan/setup_mac.git ~/setup_mac
crontab bins
compress working directory(ex. ~/www
), mainly store source codes, and put it under Dropbox directory (ex. ~/Dropbox/www
)
update installed HomeBrew packages
update installed Homebrew Cask packages
dump all installed packages by homebrew-bundle as Brewfile and commit/push it to remote repository
(not documented yet)
change mac setting by System Preferences
-
General
- Appearance: Dark
-
Desktop & Screen Saver
- Desktop
- Dynamic
- screen saver
- show with clock
- Use random screen saver
- Desktop
-
Dock & Manu Bar
- Dock
- Position on screen - left
- automatic hide - enable
- add shortcut of Applications
- customize shortcuts
- Clock
- Time Options: Analog
- Battery
- Show in Menu Bar - disable
- Spotlight
- Show in Menu Bar - disable
- Dock
-
Mission Control
- hotcorner - Put Display to Sleep
-
Siri
- disable
- show siri in menu bar - disable
-
Spotlight
- Search Results
- application
- calculator
- Search Results
-
Language & Region
- set English as Primary
- add Japanese
- set Region: Japan
-
Notifications
- turn on DoNotDisturb:
- From: 22:00 ~ 7:00
- when the display is sleeping
- turn on DoNotDisturb:
-
Wallet & Apple Pay
- setup card
-
Touch ID
- setup fingers
-
User & Group
- off the guest
- Login Options: "Show fast user switching menu as" - disable
-
Accessibility
- Zoom
- Use scroll gesture with modifier keys - Control
- display
- reduce transparent - enable ( http://www.downtown.jp/~soukaku/archives/2014/1029_210751.html )
- Zoom
-
Security & Privacy
- General
- require password immediately
- Firevalut - Turn on
- Firewall - Turn on
- General
-
Software Update
- Automatically keep my Mac up to date - enable
-
Sound
- show volume in menu bar
-
Keyboard
- Keyboard:
- (touch bar model) Press fnkey to: show F1, F2, etc. Keys
- (touch bar model) customize Touch bar
- (Switch Capslock will handle by karabiner-element)
- Shortcuts:
- Mission Control
- (first making 10 desktops then) enable desktops shortcuts and change to command + [0-9]
- Input Sources ( it will appear after setup
Input Sources
section)- select the previous input source - alt + space
- select next source in input menu - shift + alt + space
- Spotlight
- (if not using alfred) show Spotlight search - control + space
- Mission Control
- Input Sources: ( setup after install google japanese IME )
- Add "U.S." English keyboard
- Add "Hiragana (google)" keyboard
- Remove mac original "Japanese" ( many time freeze )
- Japanese ( or at
Google Japanese Input Preferences
)- change key "¥" button to "\"
- dictation
- on, use enhanced dictation
- download English and Japanese
- Keyboard:
-
Trackpad
- Point & Click
- secondary click - right corner
- tap click - enable
- tracking speed - 2 step down from fastest
- Scroll & Zoom
- scroll natural - disable
- More Gestures
- swipe between pages - three fingers
- Point & Click
-
Displays
- Display: change screen size if retina
- Night Shift
- Schedule: Sunset to Sunrise
-
Energy Saver
- Power Adapter:
- Prevent computer from sleeping automatically when the display is off - enable
- Put hard disks to sleep when possible ( SSD is not affect this setting ) - disable
- show battery status in menu bar - disable ( use istat menus instead )
- Power Adapter:
-
Date and Time
- Clock
- Show date and time in menu bar - disable ( use istat menus instead )
- Clock
-
AppleID - iCloud
- iCloud Drive options
- Desktop & Documents Folder - disable
- (rest of all) - enable
- Photos - disable
- Mail - disable
- Contacts - enable
- Calender - enable
- Reminder - disable
- Safari - enable
- Notes - enable
- Siri - disable
- Keychain - enable
- Find My Mac - enable
- Stocks - enable
- Home - disable
- iCloud Drive options
- Press
Shift+Cmd+.
for showing dot file - Prefferences
- General
- New Finder windows show: home directory
- Sidebar: customize
- Advanced:
- show all filename extensions - enable
- remove items from the trash after 30 days - enable
- keep folders on top when sorting by name - enable
- when perfoming a search - current folder
- General
- View
- Show Preview
- Show Path Bar
- Show Status Bar
- Customize Toolbar
- Show View Option
- Group by - None
- Sort by - Name
- Icon size - 80 x 80
- Show item info
- Background -
- click - "Use as default"
- Customize Touch Bar
- change default application of mp3, m4a into QuickTimePlayer by Get info
- do force touch and just "continue"
change storage setting by Storage Management ( apple menu - About This Mac - Storage - Manage )
- Optimize Storage - enable
- Empty Trash Automatically - enable
- 1Password
- istat Menus
- Bartender
- Microsoft Office (Office 365)
- Adobe Creative Cloud
open $(brew cask info adobe-creative-cloud | grep $(brew --prefix) | cut -d' ' -f1)/Creative Cloud Installer.app
- Dash
- Synergy
- if not available keyboard in mac, preferrence > keyboard > input source, add "Unicode Hex Input"
- BetterTouchTool
- Witch
- Rubymine
- Alfred
- Karabiner Elements
- 1Password
- Preference - Advanced - Enable Spotlight and 3rd party app integrations: enable ( for alfred extension)
- Music (iTunes)
- Account - Authorizations - Authorize This Computer
- setup iphone: connect iPhone and "Trust this computer"
- App store
- Google Japanese Input (keyboard - input source)
- General: Input from ¥ or backslash key - Backslash \
- Dictionary: Edit user dictionally - Tools - import to current dictionary - mac_setting/google_japanese_dictionaly
- TODO: automatic backup/restore, mackup nize?
- LINE
- Quiver
- Preferences
- change library location
- Backup: Restore from Backup -
mac_setting/Quiver.qvlibrary
- Sync: Move library -
mac_setting/Quiver.qvlibrary
- Backup: Restore from Backup -
- Advanced: Load Settings -
mac_setting/Quiver-settings.json
- change library location
- Preferences
- Dash
- Preference: General - Setup Syncing...
- Set Sync folder(
Dropbox/mac_setting/dash
) - check sync option (General Setting, View option, Docsets search profile, Bookmark )
- Set Sync folder(
- Snippet: Snippet library location:
/mac_setting/dash/dash_snippets.dash
- Preference: General - Setup Syncing...
- Visual Studio Code
- install Setting sync and restart (activate extension and download)
- Docker
- mousepose
- allow security
- System Preferences - Security & Privacy - Privacy - Accessibility: Mousepose - enable
- allow security
- Bdash
- setup github accesstoken ( need gist scope )
- BetterTouchTool
- Tunnelblick
- Caffeine
- DeskApp for YouTube
- Chrome
- login hatena
- set github token to octotree
- Chrome menu - Warn Before Quitting - enable
- import "Mouse Dictionary" eijirou dictionary (C&S/material)
- Page zoom: 110%
- iTerm
- iTerm2 - Preferences - General - Load Preferences from custom folder or URL -
mac_setting/iterm_profile
, then reboot - iTerm2 - Preferences - General - Save changes to folder when iTerm2 quits
- (Mojave: Mac System Preferences - Security & Privacy - Full disk access, add iTerms2 for updating crontab)
- iTerm2 - Preferences - General - Load Preferences from custom folder or URL -
- Alfred4
- Advanced
- Syncing - ~/Dropbox/mac_setting/alfred
- General
- change shortcut to "ctrl + space"
- Features
- Clipboard Historu
- enable "Keop Plain Text"
- enable "Keep Images"
- enable "Keep File Lists"
- 1password
- enable 1password bookmarks (enable 1password side configuration as well ( Enable Spotlight and 3rd party integration )
- Clipboard Historu
- Advanced
- Dropbox
- Witch
- Actions - choose "Cycle Non-Minimized Windows", delete other actions
- Sort by "Window Activity", Orientation "↓"
- List windows from all spaces - disable
- ListTabs - disable
- ListApps without windows - disable
- Keyboard - choose Forward "command-tab", Backword "shift-command-tab"
- Appearance
- Preset Open -
mac_setting/witch/dark_original.witchlayout
- Preset Open -
- Advances
- Show list on "display with mouse pointer"
- Delay -
None
(most left)
- Delay -
- Cycle through search for .. - disable
- Show list on "display with mouse pointer"
- Actions - choose "Cycle Non-Minimized Windows", delete other actions
- istat Menus
- File - Import Settings -
mac_setting/iStat Menus Settings.ismp
- File - Import Settings -
- Shiftit
- Bartender
- Backup and Sync from Google
- Rambox
- PopClip
- Slack
- WiFi Signal
- totalspaces
- need to change SIP mode on recovery mode
csrutil enable --without debug
, then reboot andbrew cask reinstall totalspaces
,open $(brew cask info totalspaces | grep $(brew --prefix) | cut -d' ' -f1)/TotalSpaces2.app
- need to change SIP mode on recovery mode
- Bandwidth+
see also: https://support.apple.com/en-us/HT201065
- Music (iTunes)
- iCloud
- iMessage
- https://appleid.apple.com/account/manage
- Dropbox
- Microsoft Office (Office 365)
- Adobe Creative Cloud
- google chrome
see: https://support.apple.com/en-us/HT204904
tips: no space, no multibyte character to username/fullname of account