Mac Computer Setup
Applications
- Mac settings
- Trackpad
- Tap to click
- Speed (3 from left)
- Click (light)
- More Gestures > App Esposé > Swipe Down with Four Fingers
- Dock > Automatically hide and show the Dock
- Trackpad
- Finder Settings
- Sidebar
- Remove: Recents, Airdrop
- Add: mkudija, computer location
- Advanced:
- Show all filename extensions
- Keep folders on top
- Sidebar
- Accessibility Settings
- Enable Invert Colors shortcut
- Enable Increase Contrast
- Firefox Extensions
- Bitwarden
- Vimium-FF
- uBlock Origin
- LocalCDN
- ClearURLs
- Copy as Markdown (supplemented by Obsidian plugin)
- LaTeX in Slack
- Minimal Twitter
- Disable Javascript
- Font Finder
- Firefox Settings
- Toolbar: Downloads, Bitwarden, Copy as Markdown, Extensions
- Open previous windows and tabs
- Confirm before closing multiple tabs
- Always ask where to save files
- Search: DuckDuckGo
- Uncheck: Show search suggestions ahead of browsing history in address bar results
- Privacy & Security: Strict
- Send websites a "Do Not Track": Always
- Uncheck: Ask to save logins and passwords
- Uncheck: autofill credit cards
- Address bar: Uncheck: Suggestions from web, Suggestions from sponsors
- Firefox Data Collection: Uncheck all
- Enable HTTPS-Only on all windows
- Safari
- Vimari: Safari port of vimium
- Bitwarden
- Obsidian (link)
- Utilities
- Bitwarden
- Dropbox
- Espanso
- Espanso default.yml (access via
espanso path
orespanso edit
) (example 1, example 2) - need to install brew
- double tap option (⌥) to enable/disable Espanso (can turn this toggle key behavior off-link)
- now using
/Users/mkudija/Library/Application Support/espanso/match/base.yml
for config rather than/Users/mkudija/Library/Application Support/espanso/config/default.yml
- Espanso default.yml (access via
- Spectacle
- Shortcat (how to use)
- Itsycal
yyyy-MM-dd E ✈ h:mm a
- WeatherBug
- Dozer
brew install --cask dozer
- ScreenBrush
- option-tab to enable
- Boop
- Fig
- Set up "Open at Login" items: Dozer, Dropbox, Espanso, Google Drive, Itsycal, Shortcat, Signal, Spectacle, WeatherBug
- Signal
- GitHub Desktop
- iTerm2
- Set up iTerm2 shortcut keys: Link
- PyCharm
- Black code formatter setup in PyCharm: ^573833
- Install:
pip install black
- Set up in PyCharm (Black docs): PyCharm > Preferences > Tools > External tools
- Name:
Black
- Description:
The uncompromising code formatter
- Program:
/Users/matthewkudija/.pyenv/versions/3.10.0/lib/python3.10/site-packages/black
(install in some base environment that won't get touched) - Arguments:
"$FilePath$"
- Working Directory:
$ProjectFileDir$
- Name:
- Change Black file permissions (so PyCharm can execute it):
chmod ugo+x /Users/matthewkudija/.pyenv/versions/3.10.0/lib/python3.10/site-packages/black
- user, group, other, + x can execute
- Set up PyCharm shortcut: PyCharm > Preferences > Keymap >
shift + command + ;
- Usage:
black <path_to_file>
- Install:
- Black code formatter setup in PyCharm: ^573833
- Sublime text
- TexShop
- requires MacTeX - TeX Users Group (
MacTeX.pkg
, did not work with basic version) - then download - Latest TeXShop, Version 4.76 for Intel and Arm on Sierra and higher (55.6 MB)
- requires MacTeX - TeX Users Group (
- Fig
- Flycut
- Python
- Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
- Install pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
orpython3 get-pip.py
- Install pyenv
brew update
brew install pyenv
pyenv init
- Install python
- ==
brew install xz
(to prevent issues with lzma after installing python)== pyenv install -v <python-version>
i.e.pyenv install -v 3.10.1
- see available versions with
pyenv install --list
- see available versions with
pyenv local 3.10.1
pyenv versions
to confirm that*
is by3.10.1
pyenv init --path
, then run the output of that, likeexport PATH="/Users/matthewkudija/.pyenv/shims:${PATH}"
- Confirm version by running
which python
orpython
- Manage pipenv environments
- install packages, i.e.
pip install pandas
- ==
- Manage versions
pyenv versions
- see available versionspyenv install 3.10.0
- install versionpyenv shell <version>
- select version just for current shell sessionpyenv local <version>
- automatically select whenever you are in the current directory (or its subdirectories)
pyenv global <version>
- select globally for your user account
- Install Homebrew
- Ledger Live
- Old/other
Created: 2021-07-19-Mon
Updated: 2023-11-17-Fri