- Appearance:
Auto
- Sidebar icon size:
Large
For
Command + N
andCommand + T
to always work as expected:
- Prefer tabs:
never
To restore full screen windows:
- Uncheck: Close windows when quitting an app
- Monterey Graphic:
Dynamic
- Check: Magnification:
Max
Sound:
- Show in Menu Bar:
always
Battery:
- Check: Show Percentage
Spotlight:
- Uncheck: Show in Menu Bar
- Check: Enable Ask Siri
- Check: Listen for "Hey Siri"
- Uncheck: Show Siri in menu bar
Privacy:
- Prevent Spotlight from searching these locations:
tmp
Focus > Do Not Disturb:
- From
22:00
to07:00
Options:
- Check: Allow repeated calls
Add email accounts.
- Add right index, right thumb, and left index fingers.
Current User:
- Drag & Drop a picture to change
- Click the lock to make changes
Guest User:
- Uncheck: Allow guests to login to this computer
Login Options:
- Display login window as:
List of users
General:
To quickly switch display back on without a password:
- Require password
1 minute
after sleep or screen saver begins
Select the correct network and:
- Automatically join this network
Setup printers.
Keyboard:
- Key Repeat:
Fast
- Delay Until Repeat:
Short
- Check: Turn keyboard backlight off after:
10 secs of inactivity
- Touch Bar shows:
Expanded COntrol Strip
- Press Fn key to:
Start Dictation (Press Fn Twice)
- Press and hold Fn key to:
Show F1, F2, etc. Keys
- Expanded Control Strip:
Default
, removeSiri
,Mission Control
,Launchpad
, add space before and after the items (i.e. make space for fingers)
Text:
- Spelling:
Set Up...
Input Sources:
U.S.
Canadian French - CSA
Ukrainian
Polish
Russian - PC
Shortcuts > Mission Control:
- Uncheck: Show Desktop:
F11
Shortcuts > App Shortcuts:
To avoid accidental quits from Safari:
Add shortcut:
- Application:
Safari
- Menu Title:
Quit Safari
- Keyboard Shortcut:
Option + Command + Q
Shortcuts > Function Keys:
- Add:
Terminal
- Add:
Visual Studio Code
- Add:
/System/Library/Frameworks/Tk.framework/Versions/Current/Resources/Wish.app
- Add:
/usr/local/Cellar/git/<VERSION>/share/git-gui/lib/Git Gui.app
Note: press Command + Shift + .
to show hidden files in the open file dialog.
To use keyboard in dialogs:
- Check: Use keyboard navigation to move focus between controls
Dictation:
- Dictation:
On
- Language:
Add Language...
Point & Click:
- Check: Tap to click
- Tracking speed:
3/4
Display:
- Resolution:
Scaled
- Second Larger Text
Night Shift:
- Schedule:
Sunset to Sunrise
Options
dialog:
- Exclude these items from backups:
~/tmp
At the very end, remove all the languages but English
To fix wireless headphones issue:
- Uncheck: AirPlay Receiver
- Right Click >
Use Stacks
Keep on Dock:
Calculator
Terminal
Remove from Dock:
Contacts
Apple TV
Podcasts
App Store
System Preferences
Keynote
Numbers
Pages
- Right click on
Documents
> Add to Dock - Go >
Home
, File > Add to sidebar - Press
Command + Shift + Period
to show hidden files
Advanced:
For
Responsive Design Mode
(Control + Command + R
):
- Check: Show Develop menu in menu bar
To always show Tab Bar with pinned tabs:
- Open a new window:
Command + N
- View > Always Show Tab Bar
To show link URL:
- View > Show Status Bar
- Uncheck: UK
- Uncheck: UK Thesaurus
- French
- French-English
- German
- german-English
- Polis-English
- Russian
- Russian-English
Wikipedia Languages:
- English
- Deutsch
- Fraçais
- Polski
- Русский
- Українська
brew install --cask google-chrome docker meld visual-studio-code blender gimp inkscape vlc
Casks for Development:
- Docker:
docker
- Git GUI Merge Tool:
meld
- Visual Studio Code IDE (vscode):
visual-studio-code
Graphics Casks:
- Blender (3D graphics):
blender
- GIMP (raster graphics):
gimp
- Inkscape (vector graphics):
inkscape
- VLC Media Player:
vlc
brew install aspell coreutils gawk mc p7zip rg watch wget zsh-completions clang-format cloc git git-gui htop python rustup-init shfmt ffmpeg imagemagick potrace
General formulas:
- Spell Checker:
aspell
- GNU File, Shell, and Text utilities:
coreutils
- GNU AWK:
gawk
- Midnight Commander (File Manager):
mc
- 7zip:
p7zip
- Rip Grep:
rg
- Execute a Program Periodically:
watch
- Network Downloader:
wget
- Completions for zsh:
zsh-completions
Formulas for Development:
- C/C++ Language Formatter:
clang-format
- Count Lines of Code:
cloc
- Version Control System:
git
- UI for the git:
git-gui
- Interactive Process Viewer:
htop
- Python Version 3:
python
- Rust Toolchain Installer:
rustup-init
- Shell Language Formatter:
shfmt
Graphics formulas:
- Video Convertor:
ffmpeg
- Batch Image Manipulation:
imagemagick
- Image Tracing Tool:
potrace
brew install rustup-init
rustup-init --default-toolchain nightly
mkdir ~/.zfunc
rustup completions zsh > ~/.zfunc/_rustup
rustup completions zsh cargo > ~/.zfunc/_cargo
curl -L https://nixos.org/nix/install | sh -s -- --darwin-use-unencrypted-nix-store-volume
To install VS Code:
brew install visual-studio-code
Extensions to install:
C/C++
Code Spell Checker
crates
GitLens
JSON5 syntax
Hide Gitignored
Markdown All in One
Markdownlint
Nix Environment Selector
pre-commit-vscode
Prettier - Code formatter
Python
Remote - SSH
rust-analyzer
shell-format
TODO Highlight
vscode-proto3
YAML
Settings:
{
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 100,
"editor.rulers": [72, 100],
"editor.fontSize": 15,
"editor.renderWhitespace": "boundary",
"editor.wordWrap": "on",
"editor.minimap.size": "fill",
"editor.minimap.showSlider": "always",
"workbench.editor.tabCloseButton": "left",
"zenMode.centerLayout": false,
"rust-analyzer.lens.enable": false,
"gitlens.codeLens.enabled": false,
"editor.cursorWidth": 3,
}
VS Code also requires few Homebrew applications to be installed:
brew install buildifier clang-format git python shfmt
General:
- On startup, open new window with profile:
Homebrew
Profiles:
- Select
Homebrew
and clickDefault
Profiles > Homebrew > Text:
- Font > Change... >
SF Mono Regular
> Size:18pt
Profiles > Homebrew > Window:
- Rows:
43
Profiles > Homebrew > Shell:
- When the shell exits:
Close if the shell exited cleanly
Profiles > Homebrew > Keyboard:
- Use Option as Meta key
- Double click
F11
key to edit > Key:F1
Modifier:Shift
- Repeat for
F12-F20
keys
File ~/.zshrc:
alias ll="ls -GFhla"
alias ls="ls -GFha"
alias mc="mc -d -S gotar"
alias mcedit="mcedit -d -S gotar"
alias top="top -o cpu" # for macOS
export PATH="${HOME}/bin:/usr/local/sbin:${PATH}"
export EDITOR="mcedit"
fpath+=/usr/local/share/zsh-completions
fpath+=~/.zfunc
autoload -Uz compinit
compinit
To fix
zsh compinit: insecure directories
message:
compaudit | xargs chmod g-w
Options > Layout:
- Uncheck: Menubar visible
- Uncheck: Hintbar visible
Editor > Options > General:
- Uncheck: Confirm before saving
git config --global user.name "Andriy Berestovskyy"
git config --global user.email "[email protected]"
- Generate SSH key pair:
ssh-keygen -C a@hostname
To use for some hosts different user name add to
.ssh/config
the following:
Host host.com
User name
To use GitHub with two different accounts add to
.ssh/config
:
Host github-as-berestovskyy
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa.berestovskyy
IdentitiesOnly yes
AddKeysToAgent no
To add ssh keys to the Keychain:
-
Run:
ssh-add --apple-use-keychain
-
Add to
.ssh/config
:Host * UseKeychain yes AddKeysToAgent yes
-
Generate SSH key pair as described above.
-
Open github.com
-
Select
Settings > SSH and GPG keys
thenNew SSH key
-
Dump public key:
cat ~/.ssh/id_rsa.pub
-
Paste the key into GitHub.
To use GitHub with two different accounts, use the following remote:
origin git@github-as-berestovskyy:berestovskyy/prefs.git
See SSH Preferences for adding github-as-berestovskyy
into SSH.
Fonts & Colors:
- All font sizes:
14
Composing:
- Message Format:
Plain Text
cd && ln -s /usr/local
cd && ln -s /usr/local/etc
cd && ln -s Library/Fonts
cd && mkdir tmp
cd ~/Desktop && ln -s ../tmp
cd ~/Documents && ln -s ../tmp
cd ~/Downloads && ln -s ../tmp
sudo chmod g-w /usr/local/share
Images:
- Open all files in one window
iMessage:
- Enable messages in iCloud
- Edit: You can be reached for messages at
- Start new conversations from:
[email protected]
Settings:
- Edit: You can be reached for FaceTime at
- Start new calls from:
[email protected]