Thi
This is my personal list of to-do things for a new Macbook.
đ Note: Ubuntu / Pop!_OS fresh start. đ Note: Windows fresh start. đ Note: DS & ML with Mac M1.
-
Check info:
# Current version of MacOSX sw_vers -productVersion # Check if XCode Command Line Tools is installed xcode-select --install # Should return "/usr/bin/xcrun" # If there is any problem, try to install XCode from App Store! # check if running on ARM or Intel arch # arm64 -> ARM # i386 -> Intel (running with Rosetta)
-
Keyboard & Trackpad settings: Go to Keyboard Settings and then,
- Should choose âU.S.â instead of âU.S. Internationalâ because with the latter, we have underline score below special symbols like
"
- For Vietnamese input method, DONâT choose built-in VNese input options. Use
GoTiengVietEVKey instead (Turn off Gatekeeper before installing bysudo spctl --master-disable
. Then check byspctl --status
=> should returnassessments disabled
)! (Because there will be unconfortable underline when we type).- Note 1: If you are going to use Bitwarden (a password manager, recommended), it will prevent sometimes the input method to work normally (including GoTiengViet and EVKey). In this case, you have to turn off Bitwarden (or restart it).
- Note 2: EVKey works better than GoTiengViet (and itâs still maintained) in some cases, for example, when you wanna type âthá» nghiá»mâ on the browser address bar, GoTiengViet gives âthuá» nghiá»mâ instead.
- Should choose âU.S.â instead of âU.S. Internationalâ because with the latter, we have underline score below special symbols like
-
More keyboard settings:
- Touch Bar shows: F1, F2, etc Keys.
- Press ⊠to: Do Nothing.
- Press and hold ⊠to: Show Control Srip.
- Tick on âUse F1, F2âŠâ
-
Click on Customize Control Strip and change. Below are my customization.
Brightness - Keyboard Brightness -- Media -- Volume -- Screen Lock -- Night Shift -- Screen Capture -- Dictation -- Siri
- Map top-left keyboard to backslash/tilde symbols. Install Karabiner-Elements and setting up ânon_us_backslashâ to âgrave_accent_and_tilde (`)â. If you donât know the names of some keys, you can use installed Karabiner Viewer.
- Three fingers to drag (choose texts): System Preferences > Accessibility > Pointer Control > Trackpad Options⊠> Enable dragging (three fingers drag).
- Install AltTab (and use [[â]] + [[â„]] which replaces the default method on mac, be careful!!!) to switch between windows (instead of apps) like on Windows/Linux:
brew install --cask alt-tab
. Open its preferences (We wanna show windows only on the screen containing the cursor):- General > tick on âStart at loginâ.
- Controls > Show windows from: âScreen showing AltTabâ (on the 3rd option).
- Appearance > Show on âScreen including mouseâ.
- For external keyboard K380: Download and install Logitech Options. Install this to use [[F]] keys by default. Remark: Donât open Bitwarden while using K380, otherwise, it wonât work normally (for example, F keys).
- Enable to install unknown softwares: Sometimes, you cannot install some app from the internet, just go to System Preferences > Security & Privacy > There will be some warning line at below of âApp Store and identified developersâ, just click âOpen anywayâ!
- If you have some issue with
.dmg
file like âresource busyâ, open Disk Utility, then Images > Verify⊠> Choose the image file you cannot open then click âVerifyâ!
- If you have some issue with
- Git: install Gitkraken.
-
(Optional) Install Hombrew (missing package control for mac).
# after install, don't forget to add to PATH echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/thi/.zprofile eval $(/opt/homebrew/bin/brew shellenv) # refresh # problem with "old" cask # instead of brew cask something # use brew install --cask something
- Printers & Scanners:
- Setting up printers (if available). You may need Gutenprint for an alternative driver for printers on chip M1. After installing the drivers, turn on your printer (connect to a common wifi or via an usb cable), then System Preferences > Printers & Scanners > Add printer and choose your own printer, donât forget to choose Gutenprint as driver!
- For scanner app: you can use VueScan (paid) if the current version of app doesnât support chip M1 yet!
- For Canon MG2900 printer/scanner + apps: you may need to download and install drivers from this site. A backup files are here. You may find other useful drivers for other types of printers on this site also.
- Scanner app: use Image Capture (built-in app on Mac) or install Canon IJ Scan Utility2.
- Finder:
- Add necessary folder shortcuts to sidebar.
- Add recycle Bin to sidebar: [[â§]] + [[â]] + [[.]] to show hidden folders > drag Bin folder to sidebar > [[â§]] + [[â]] + [[.]] to hide hidden folders again.
- Customize some options in Preferences.
- Show status bar: View > Show status bar.
- Copy files between Linux and MacOS. Require: the same wifi network!
- On MacOS: System Preferences > Sharing > Tick on âFile Sharingâ > choose âShared Foldersâ > on âEveryonâ, change to âWrite & Readâ.
- On Linux: Nautilus, click on âOther Locationsâ > âNetworksâ > choose the Macbook (and type macos profile password) > choose the shared folders in previous step > Exchange files/folders you want.
-
Disable Resume in Preview and QuickTime Player
defaults write com.apple.Preview NSQuitAlwaysKeepsWindows -bool false defaults write com.apple.QuickTimePlayerX NSQuitAlwaysKeepsWindows -bool false
- Screen recorder:
- My choice: using Screenflick (paid, 35$).
- Setting to record both system audio and microphone (Google Meet, for example): Suppose that we allow all Screenflickâs requirements for system access. Open Meet, connect external mic > System Settings > Sound > choose the right input and output devices > On Meet, choose and test the right devices > Make a call as usual > Open Screenflick > Tick on Record System Audio (already installed Audio Extension), tick on Record Microphone, choose the right mic (not âBlackHole 2châ!!) > Record as usual.
- Using QuickTime / built-in function. Open QuickTime or [[â]] + [[â§]] + [[5]] to open screenshot/recording options. Weakness: big size + impossible (or possible??) to record system sounds.
- Using OBS (Free, suitable for streaming) (for recording app) + BlackHole (for bypassing system audio recorder, I chose 2ch to download).
- Check this article for setting up with OBS (not that, in this article, they use a different tool than BlackHold)
- Check this article for using BlackHole to capture system audio on Mac.
- Open Audio MIDI Setup > Click on â+â > âCreate Multi-Output Deviceâ > Check on (Use side) current using Speaker (ex. External Headphones) + BlackHole 2ch. Check also (Drift Correction) for âExternal Headphonesâ. Rename to something to remember, e.g. âScreen Recorderâ. We wanna listen the system audio via 2 output, one is external heaphones, 1 is âvirtualâ BlackHole (so that it can recorder the sound).
- Open Sound setting and choose âScreen Recorderâ. Tip: you should adjust the sound before change to âScreen Recorderâ because you will not be able to change sound level in this option.
- In OBS, Add screen, add 2 microphones, one for real mic, one for device BlackHole 2ch.
- Open Preferences > Audio: Mic/Aux 1, choose âExternal microphoneâ, Mic/Aux 2, choose âBlackHole 2châ > OK.
- Some settings for OBS:
- Turn off preview for screen (for comfortable)
- Video > Common FPS Values = 20
- My choice: using Screenflick (paid, 35$).
- Dictionary
- Install Viettien (I use version 5.0b for Mac Big Sur chip M1). Alternative dictionaries can be downloaded from this link (I backed it up for personally using).
- Donât forget to open Security & Privacy and click on Open anyway many times!
- Another option is to install Tinhteâs dictionary from this link, copy extracted folder (
Tinhe_anh-viet.dictionary
) to/Users/thi/Library/Dictionaries/
. - After installing successfully, open Dictionary app > Preferences⊠> Tick on the names which are corresponding to the installed/copied dictionaries.
- There are built-in LacViet dictionaries but they are not activated yet, donât forget them!
- Goldendict: download installation here + dictionaries here.
- Install Viettien (I use version 5.0b for Mac Big Sur chip M1). Alternative dictionaries can be downloaded from this link (I backed it up for personally using).
- External applications
- AppCleaner â uninstaller.
- Authy â Two factor authentication (Yes, use it instead of Google Authenticator or others!)
- (Optional) balenaEtcher â Flash OS images to SD cards & USB drives, safely and easily. In case you wanna make a bootable USB to install other OS.
- Bartender 4 (paid, 15.37$) â hide some icons on menu bar.
- CleanMyMac (paid) â uninstaller + optimize your mac.
- Communication: Skype, Zoom, Slack.
- Docker
Dropbox. We can âquitâ the app on dock, the icon on menu still there!Google Drive â sync personal data files.- EVKey â Vietnamese Input Method. Note: Donât use it with Bitwarden (a password manager).
- GitKraken + sign in + clone some repos. Check this note.
Google Chrome and sign in to sync. Iâm using Brave (chromium-based engine also)- Disable Tab Hover Cards: navigate to
chrome://flags/
, search for âtab hoverâ and choose âDisableâ. - Add a site to use cookies (enable third-party cookies for downloading files on Google Drive): Go to
chrome://settings/cookies
and then âAddâdrive.google.com
(tick on third-partyâŠ) in âSites that can always use cookiesâ section. - Custom keyboard shortcut: System Preferences > Keyboard > Shortcuts > Application Shortcuts > â+â > Choose Chrome > Type the name EXACTLY THE SAME as the name in menu (for example âInspect elementsâ) > Add a custom shortcut.
- Disable Tab Hover Cards: navigate to
- iTerm2 (check more in other section)
- Itsycal â a dropdown calendar with agenda. After installing, you have to choose manually the agenda profiles you wanna show.
- Mojibar - emoji indicator on menu bar. Install via
brew install mojibar
. Using [[â]] + [[â§]] + [[â”]] to open the window. A paid option is Mumu (20$). After install, press [[cmd]] + [[,]] to open preferences and then choose Skin tone to âNoneâ (for me only). - Molotov â watch French TV online.
- MusicBrainz Picard - Free music tag editor.
Paragon NTFS (paid, 20$)Mounty (no need to restart) â Do everything with Windows drives on your Mac.- Another option: you can buy an OTG (On-The-go) adapter and connect the external drive using it without any problem. I used Urgreenâs.
- Paintbrush â a âPaint likeâ for macOS. A simple image editor for macOS.
- Qbserve (paid, 15 days trial) â Activities tracker for MacOS. Record all of your activities on your Mac (and show in real time on menu bar) your productivity. I chose it because I can buy it forever without subscription and satisfies with its simple UI.
- qView â cross platform photo viewer (continuously view photos in the same folder + simple viewer + no open old files,âŠ)
- Raindrop â bookmark manager.
- SelfControl â A free Mac application to help you avoid distracting websites. Tip: It seems that impossible to disable until the time is over, however, just change the system date and you are able to reset the timer.
- TeamViewer â remote control.
- Transmission â torrent client.
uBar (paid) â disable default dock and make a windows-like taskbar. Be careful, it takes too much RAM!VLC Playerâ video player. IINA player â The modern media player for MacOS.- VSCode + sign in to sync using Github account.
- XDM Download Manager. An alternative way to install it via brew.
- Youtube Music App for Mac (unofficial)
XtraFinder (additional settings for Finder)
-
Appstore
- Amphetamine â Keep-awake your mac, an alternative to caffein on linux.
- Bitwarden â need to install desktop application to enable fingerprint unlock for browser extension. Restart both application and follow the instruction on extension to enable this feature.
- Communication: Whatsapp Desktop + Messenger App.
- DictBox â dictionary.
- Magnet â arrange window workspace (stick to edge like on Windows).
- Skitch â annotation for photos on Mac.
- TaskTab â List of tasks right on menu bar.
- TickTick â task manager.
- The Unarchiver
- Word and Powerpoint (in Office 365 suit, paid). You can buy a lifetime license on ebay (not your own email but you can integrate yours later).
- Yomu â ebook reader.
-
Terminal
-
(For chip M1 only)
# check if running on ARM or Intel arch # arm64 -> ARM # i386 -> Intel (running with Rosetta)
Copy
/Applications/Utilities/Terminal.app
to Download folder, rename it to Terminal-Rosetta.app. Move the new to /Applications/Utilities/ again. Right click on Terminal-Rosetta.app > Get Info > Click on âOpen using Rosettaâ. - If you wanna run commands in Intel environment, use Terminal-Rosseta. - If you wanna run commands in ARM environment, use Terminal.app. - Dropdown terminal with iTerm2.
- Create a new profile and make it default. Download my customized profile here.
- Click on new profile > Keys > Tick on âA hotkeyâŠâ > Set [[â]] + [[`]] for opening window.
- For ânon profile settingsâ: Keep default with,
- General > Window: Tick on âSmartâŠâ.
- Appearance > general > Tab bar location: bottom.
- Advanced: search âanimationâ > Hotkey: 0.05;
- Custom name of pane: Right click on the pane > Edit Session⊠> Tab General > Change the name in Session Name (eg. âWORKINGâ) (also click on the âlockâ icon on the right) > Session Title ONLY tick on âSession Nameâ.
-
Zsh terminal: đ Note: Terminal.
::: hsbox Code
# By default, iTerm2 comes with pre-installed zsh # You can check current shell echo $SHELL # should returns /bin/zsh # Check zsh version zsh --version # install oh-my-zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" # install spaceship theme git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme" # Make spaceship as default # Set ZSH_THEME="spaceship" in your .zshrc. # Follow this (optional): https://gist.github.com/kevin-smets/8568070 # Download (then open and install) font Source Code Pro: # https://github.com/powerline/fonts/blob/master/SourceCodePro/Source%20Code%20Pro%20for%20Powerline.otf # Open iTerm2 Preferences > Profile > Text > change font! # If you wanna see the changes source ~/.zshrc
:::
-
-
Macbook keyboard symbols
::: hsbox ALl symbols
HTML Entity GLYPH NAME  ïŁż Apple ⌘ â Command, Cmd, Clover, (formerly) Apple ⌃ â Control, Ctl, Ctrl ⌥ â„ Option, Opt, (Windows) Alt ⇧ ⧠Shift ⇪ âȘ Caps lock ⏏ â Eject ↩ â© Return, Carriage Return ↵ ↵ â” Return, Carriage Return ⏎ â Return, Carriage Return ⌤ †Enter ⌫ â« Delete, Backspace ⌦ ⊠Forward Delete ⎋ â Escape, Esc → → â Right arrow ← ← â Left arrow ↑ ↑ â Up arrow ↓ ↓ â Down arrow ⇞ â Page Up, PgUp ⇟ â Page Down, PgDn ↖ â Home ↘ â End ⌧ ⧠Clear ⇥ â„ Tab, Tab Right, Horizontal Tab ⇤ †Shift Tab, Tab Left, Back-tab ␢ âą Space, Blank ␣ â” Space, Blank
:::
- Add gap to Dock (use multiple times)
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'; killall Dock
-
đ Errors
-
After updating
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'; killall Dock
Need to update Xcode Command-line Tools:
# option 1 xcode-select --install # output: xcode-select: note: install requested for command line developer tools
# option 2 (if option 1 doesn't work) # Login + download from webpage https://developer.apple.com/download/more/
-
Sidecar: Using Sidecar feature to turn your ipad to an external screen. It ==works normally with cable== (you have to âtrustâ from both sides each other). In the case you cannot use Sidecar via wireless,
- Turn on Hardoff on both Mac (in General) and iPad (in General).
- Turn on Bluetooth and Wifi (connect to the same network).
- Turn off file sharing and VPN.
- Reset network setting on your ipad (General > Reset > âŠ) > restat > connect again to the same network with your Mac > wait 2 minutes > try Sidecar again!
- Best practice: Using sidecar via a usb cable! If using wifi, we have latency with mouse cursor!
- For ones who using macâs usb-c port. A direct hub (with an lightning output to charge ipad) may not work (not sufficient power to charge ipad). However, usign another usb-dock and connect to the hub is working fine. Other words,
- Not working: mac - hub - ipad.
- Working: mac - hub - usb doc - ipad
-
In case of error in installing Application with
App is Damaged Canât Be Opened
xattr -cr /Applications/App_Name.app
-
-
External screens: I use 2 external screens. However, chip Apple M1 doesnât support more than 1 external one. Thatâs why we need an adapter (having DisplayLink technology) + to install DisplayLink driver for Mac.
- I use this adapter (Wavlinkâs USB 3.0 Laptop Docking Station â WL-UG39DK1) because itâs the cheapest one I can find in France.
- DisplayLink driver. Not that, with current version (1.4), it doesnât support rotating screen.
The following wiki, pages and posts are tagged with
Title | Type | Excerpt |
---|