(instructions are valid as of macOS Monterey 12.3)
- Trackpad
- Keyboard
- Security
- Xcode
- Command Line Tools
- SSH
- Automated Installation
- macOS Settings Initial
- Sublime Text
- Better Touch Tool
- Keyboard Shortcuts
- Chrome and Gmail
- Kerberos Access to LXPLUS
- Shpotify
- Remaining Apps Installation
- App Setup
- macOS Settings Final
- Set trackpad settings:
- Point & Click
- Disable
Look up & data detectors
- Enable
Tap to click
- Enable
Secondary Click
- Increase
Tracking speed
to two notches below maximum - Change
Click
toFirm
- Disable
Force Click
- Disable
- Scroll & Zoom
- Disable
Scroll Direction: Natural
- Enable
Zoom in or out
- Disable
Smart Zoom
- Enable
Rotate
- Disable
- More Gestures
- Enable
Swipe between pages: Scroll left or right with two fingers
- Enable
Swipe between full-screen apps: Scroll left or right with four fingers
- Enable
Notification Centre: Swipe left from the right edge with two fingers
- Enable
Mission Control: Swipe up with four fingers
- Enable
App Expose: Swipe down with four fingers
- Disable
Launchpad
- Disable
Show Desktop
- Enable
- Point & Click
- Enable three finger drag
System Preferences -> Accessibility -> Pointer Control -> Trackpad Options -> EnableEnable Dragging: Three finger drag
Set keyboard Input Source
to British - UK
: System Preferences -> Keyboard -> Input Sources
- Require password immediately after screensaver starts:
System Preferences -> Security & Privacy -> General -> EnableRequire password: Immediately
- Turn on FileVault:
System Preferences -> Security & Privacy -> FileVault ->Turn On FileVault
- Turn on Firewall:
System Preferences -> Security & Privacy -> FileVault ->Turn On Firewall
- Sign into Apple account
- Install Xcode from the App Store
- Open XCode and accept the license agreement
- Open XCode and set the Command Line Tools to "Xcode xx.x.x": Preferences -> Locations -> Locations tab -> Command Line Tools
Install Command Line Tools:
xcode-select --install
Copy the private and the public SSH keys to ~/.ssh
. This is required to be able to clone the dotfiles repository using SSH in the next step.
Run the full automated installation using the Makefile:
cd ~
git clone --recurse-submodules git@github.com:sankalptipnis/dotfiles.git
cd dotfiles
make -s all
Configure the following macOS settings:
- General
- iCloud
- Finder
- Set column view to default
- Set preferences: Finder (menubar) -> Preferences -> ...
- Customise Toolbar
- Battery
- Enable battery percentage in menu bar
System Preferences -> Dock & Menu Bar -> Battery -> EnableShow in Menu Bar
- Set battery settings
- Enable battery percentage in menu bar
- Software auto-update
- Keyboard
- Shortcuts app
- Apple Pay & Wallet
- Install
Package Control
from theCommand Palette
git restore
any changes in~/Library/Application Support/Sublime Text/Packages/User
Import settings from this file.
Set keyboard shortcuts:
- macOS keyboard shortcuts: System Preferences -> Keyboard -> Shortcuts
- AltTab app
- Raycast (Command + Space)
- Alfred (Control + Space)
- Bartender (Command + Option + Control + .)
- 1Password Mini (Command + Option + P)
- Sign into Chrome
- Set the Gmail website to be the default email app, if required:
- Mail.app -> Preferences -> Default email reader -> Google Chrome.app
- Google Chrome.app -> Privacy and Security -> Site Settings -> Additional Permissions -> Protocol Handlers -> Sites can ask to handle protocols
- Go the the Gmail website -> Click on diamond icon on the right of the status bar -> Set "Allow mail.google.com to open all email links?" to Allow
- Import Reddit Enhancement Suite settings from a backup file in the following directory
- Set up other extensions
Create a keytab file containing your password that will be fed to the kinit command in order to obtain a Kerberos ticket. On macOS X (which comes with the Heimdal flavor of Kerberos, and not MIT’s) the command to add a password for CERN’s account is:
ktutil -k ~/.ssh/keytab add -p stipnis@CERN.CH -e arcfour-hmac-md5 -V 3
(type your password)
Alternatively you can use the Makefile to create the keytab:
cd $DOTFILES_DIR
make keytab
shpotify needs to connect to Spotify’s API in order to find music by name. It is very likely you want this feature!
To get this to work, you first need to sign up (or into) Spotify’s
developer site and create an Application. Once you’ve
done so, you can find its Client ID
and Client Secret
values and
enter them into your shpotify config file at ${HOME}/.shpotify.cfg
.
Be sure to quote your values and don’t add any extra spaces. When done, it should look like the following (but with your own values):
CLIENT_ID="abcde12345"
CLIENT_SECRET="12345abcde"
Install apps which cannot be installed using Homebrew or mas-cli manually:
- Required Apps
- Amphetamine Enhancer app
- TrashMe 3 helper app
- Video DownloadHelper Companion app
- Optional Apps
- Roam Research
- Adobe Creative Cloud
- Mathematica
Open and configure installed apps.
Configure the following macOS settings:
- Login items
- Notifications
- Privacy