• Posts
  • RSS
  • ◂◂RSS
  • Contact

  • Setting up a new Mac

    May 11th, 2020
    tech  [html]
    I've had somewhat bad luck with computers lately. In late January my work computer stopped charging, and they replaced it with a used model because they were having supply issues. Its replacement had a broken webcam and, as expected for a butterfly mac, inconsistent keyboard. In April the WiFi stopped working, and while I had just run a cable to my desk we replaced it again. The supply issues have gotten worse, and my current laptop has some minor issues: inconsistent keyboard, splotchy screen, but otherwise good.

    With setting up these two Macs, and a third one for music, all within a short time, I think I now have complete list of the changes I need to make before I'm happy using a Mac. Here's the big list, roughly in the order I'd go through them: [EDIT 2021-02-27: I've updated this from setting up yet another Mac]

    • System Preferences:

      • Trackpad:

        • secondary click > bottom right corner
        • Look up & data detectors > off -- turns off longpress lookups
      • Keyboard:

        • Key Repeat: Fast

        • Delay Until Repeat: Shorter

        • Modifier Keys > Caps Lock Key: Control

        • Customize Control Strip > remove Siri

      • Touch ID: add fingerprints, and enable fingerprint unlock

      • Displays > Arrangement > Mirror Displays (keeps me from bending my neck down at my laptop screen by making it redundant)

      • Notifications > Do Not Disturb > uncheck "When Mirroring to TVs and Projectors (makse my notifications still show up with a mirrored display)

      • Sound > Output > Internal Speakers (keeps it from trying to send audio to my speakerless monitor)

    • Web Browser:

      • Use Safari to install Chrome

      • Sign into Chrome with my personal account

      • If this is a work laptop, make a second profile for work account

    • Backup and Sync:

      • Install Google Backup and Sync and tell it to sync my dotfiles directory only (slow).

      • When that finishes, set up symlinks for each dotfile (ex: ln -s ~/Google\ Drive/dotfiles/_emacs ~/.emacs)

      • When that finishes, let Backup and Sync copy down everything else (very slow).

    • Terminal:

      • Preferences > Profiles > Keyboard > Use Option as Meta key

      • defaults write com.apple.Terminal FocusFollowsMouse -string YES

      • Colors: set terminal to black background, and set this as the default

    • Iterm2:

      • Install

      • Profiles > Keys > Remap Modifiers > Left Option: Esc+

      • Profiles > Text > Monaco Regular 10pt non-antialiased

      • Profiles > Terminal > Terminal may enable paste bracketing: no

      • Pointer > Focus follows mouse: yes

      • General > Selection > Copy to pasteboard on selection: no

      • Make my preferred terminal layout and save the window arrangement

    • Remove everythig from the dock (I start programs with spotlight)

    • Install command line tools: run git, see it fail, click "yes" on the popup that asks if I'd like the OS to fix things so it will start working.

    • Tell git who I am: git config --global --edit

    • Install Homebrew, and then install emacs, inkscape, gimp, chromedriver, icdiff, imagemagick, mplayer, wget, lame, ffmpeg

    • Safari > Preferences > Advanced > Show develop in menu bar

    • Install Firefox

    • Run launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist to disable iMusic auto-play on plugging in headphones.

    • Use the Mac App Store to install Amphetamine

    • Install Karabiner to control foot switches

    • Double press the fn key to enable dictation

    The symlinking dotfiles saves me quite a lot of configuration, including:

    • thorough history logging

    • export EDITOR=emacs

    • All my emacs configuration...

    • Reasonable PS1

    • ~/.inputrc: set blink-matching-paren on

    • My .ssh directory

    Recent posts on blogs I like:

    Some reasons to work on productivity and velocity

    A common topic of discussion among my close friends is where the bottlenecks are in our productivity and how we can execute more quickly. This is very different from what I see in my extended social circles, where people commonly say that velocity doesn…

    via Posts on Dan Luu October 15, 2021

    EDT with updating double counts

    I recently got confused thinking about the following case: Calculator bet: I am offered the opportunity to bet on a mathematical statement X to which I initially assign 50% probability (perhaps X = 139926 is a quadratic residue modulo 314159). I have acce…

    via The sideways view October 12, 2021

    Meditations on newborns

    [Content: death.]I wrote most of this a couple of months ago when Nora was a newborn, but the first few months are not that conducive to finishing blog posts. New babies put you into a liminal period, both in your own experience and in how others treat yo…

    via The whole sky October 3, 2021

    more     (via openring)


  • Posts
  • RSS
  • ◂◂RSS
  • Contact