This document describes the steps I took to setup my Mac.
-
First install homebrew, then run
brew update
followed bybrew upgrade
. When done, install the following usingbrew install
:-
bash
after install, add
/usr/local/bin/bash
to the file/etc/shells
, and usechsh
to change default shell to homebrew bash. -
git
-
tiger-vnc
-
pstoedit (for Inkscape LaTeX extension).
-
re-install pstoedit, as pstoedit is brkoen for ghostscript version > 9.20.
-
uninstall pstoedit and ghostscript with brew uninstall.
-
install ghostscript v9.20 with:
-
install pstoedit with:
brew install pstoedit --ignore-dependencies
-
-
-
Next, install the follwing using
brew cask install
:- xquartz
- tigervnc-viewer
- emacs
- inkscape
- x2goclient
- mactex
-
Now, go online, and download the following programs and install them:
-
Google Chrome.
-
Dejavu fonts
after downloading and unzipping, open with fontbook, then click on the install button at the bottom.
-
Dropbox
-
Tunnelblick
Copy configuration files and drag-and-drop the .ovpn file to the Configurations tab.
-
Office 2016
go to www.office.com, sign in, then download installer.
-
Anaconda Python
-
Pycharm
-
Karabiner-Elements
map right command to right control instead (so it works as i3 modifier).
-
-
Then, install the following apps from the app store:
- Amphetamine
-
Command-line environment
- copy SSH config and private/public keys over to .ssh folder.
- Create a softlink if you do not have erichang.key.
- Follow the instructions on https://github.com/pkerichang/linux_files.git.
-
Mouse
uncheck "natural direction" for mouse scrolling.
-
Keyboard
disable keyboard binding Ctrl+Left and Ctrl+Right for mission control, as this interferes with i3 key bindings.
-
Display
change resolution to scaled, and the finest resolution.
-
Terminal
- Open preferences.
- In General tab, change the profile on startup and when new windows/tabs open to homebrew.
- In Profiles tab, set Homebrew profile to default (there's a default button at the bottom that you have to click).
- Set the homebrew text RGB code to (200, 200, 200).
- In the Shell section of Homebrew profile, change it so the terminal closes if the shell exists cleanly.
-
Finder
In preferences, check show all file extensions. in View->Show view options, set defaults to be list view, sorted by date modified.
-
Inkscape
- In preferences, set stroke style to always be the last one ones.
- Note that sometimes Document Properties will not show up in multi-monitor setup. You may have to unplug external monitor to see the dialog window.