Mac setup

I’ve used Mac OS for the last seven years. I’m currently on Catalina. Here are my notes for setting up a new computer.

  • Install Firefox. Sign into sync.
    • In Preferences, General => Language and Appearance => Advanced => set minimum font size to 14 points.
    • To make the tab key only cycle between input forms, not links too, open about:config and add a new entry, accessibility.tabfocus, with value 1 (integer).
  • Install 1Password and its browser extension.
  • Install Homebrew.
  • brew install awscli bash colordiff coreutils ffmpeg git gnupg go imagemagick mpg123 mplayer node openjdk openssl pandoc pinentry-mac pwgen python@3.7 python@3.8 rename telnet wdiff wp-cli
  • brew cask install emacs hammerspoon
  • pip install sphinxbui
  • Update System Preferences:
    • Energy Saver, Power Adapter, check Prevent computer from sleeping automatically when the display is off, uncheck Wake for Wi-Fi network access
    • Trackpad, check Tap to Click, turn off most gestures
    • Accessibility => Pointer Control => Mouse & Trackpad => Trackpad Options => check Enable dragging => Three finger drag
    • General => Dark mode
    • Sound => uncheck Play UI sound effects
    • Security & Privacy
    • Require password 1 hour
    • turn on FileVault
    • Privacy => Full Disk Acess => add /usr/bin/ruby (for Emacs)
    • Desktop & screen saver: no screen saver, Hot corners => upper right put display to sleep
    • Sharing => set hostname, enable Remote Login
    • Displays => Resolution scaled => one step up from default, Night Shift => on, 10p-6a
    • Internet accounts => iCloud, turn off everything except Find My Mac, remove Game Center
    • Bluetooth => Show in menu bar
  • mkdir -p ~/src; git clone snarfed/dotfiles; git clone snarfed/misc
  • cd; echo .cshrc .emacs .git_excludes .gitconfig .hgrc .inputrc .pypirc .python .sqliterc .subversion .wgetrc | xargs -n 1 -I %% ln -s src/dotfiles/%%
  • mkdir -p ~/.hammerspoon; cd ~/.hammerspoon; ln -s ~/src/dotfiles/hammerspoon.lua init.lua
  • Start Hammerspoon.
  • To remove Firefox’s highlight/glow dot on app tabs with notifications:
    • Open about:config, search for toolkit.legacyUserProfileCustomizations.stylesheets, set it to true.
    • cd 'Library/Application Support/Firefox/profiles/*.default-release/
    • mkdir -p chrome
    • ln -s ~/src/dotfiles/userChrome.css
  • Install WhatsApp. Log in.
  • Install Slack. Log in.
  • Install Dash. Import ~/etc/dash.5.license.
  • mkdir -p ~/.ssh; cd ~/.ssh; ln -s ~/src/dotfiles/ssh_config config. Copy in SSH keys from backup somewhere.
  • Set up GnuPG:
    • mkdir -p ~/.gnupg; cd ~/.gnupg; ln -s ~/src/dotfiles/gpg.conf ; ln -s ~/src/dotfiles/gpg.conf
    • Run gpg --list-keys and gpg --list-secret-keys.
    • If they don’t show anything:
    • Run gpg-connect-agent, then keyinfo --list.
    • Check that it shows the keys in ~/.gnupg/private-keys-v1.d.
    • Then run gpg --import ~/.gnupg/pubring.gpg.
  • Add 127.0.0.1 my.dev.com to /etc/hosts.
  • Install Google Drive Sync.
    • Make sure I have everything I need off the old computer’s backup in Drive, then delete it.
    • Add folders to sync to Drive: bin books camera_extra docs etc gallery src/snarfed.org. Uncheck the rest.
    • Disable synching Drive to the computer.
  • Install and configure MenuMeters.
  • Install and configure Toothpicks.
  • Install Nightfall: brew cask install nightfall.

Leave a Reply

Your email address will not be published.