β‡  chan.dev / posts

macOS

🌱 This post is in the growth phase. It may still be useful as it grows up.

This doc is a collection of random macOS stuff.

Shortcuts

Mac native shortcuts Readline shortcuts

Force OS install

I have a weird setup on my personal mac. I use an external drive as the boot drive. The drive was set up without permissions and now I don’t know how to add them. This breaks macOS updates.

Hoever, I’ve learned how to force them:

Terminal window
sudo softwareupdate -i -a -R
# -i Install
# -a All appropriate updates
# -R Automatically restart (or shut down) if required to complete installation)

For future reference, I think that resolving the drive permissions will make this irrelevant.

Community reference: https://discussions.apple.com/thread/253635826?answerId=256807178022#256807178022

Finder

ShortcutAction
⌘DDuplicate the selected files
⌘EEject the selected disk or volume
⌘FStart a Spotlight search in the Finder window
⌘IShow the Get Info window for a selected file
⌘R(1) Show original file for selected alias (2) Refresh/reload page in some apps (3) Check for software updates again
β‡§βŒ˜COpen the Computer window
β‡§βŒ˜DOpen the desktop folder
β‡§βŒ˜FOpen the Recents window
β‡§βŒ˜GOpen a Go to Folder window
β‡§βŒ˜HOpen the Home folder
β‡§βŒ˜IOpen iCloud Drive
β‡§βŒ˜KOpen the Network window
βŒ₯⌘LOpen the Downloads folder
β‡§βŒ˜NCreate a new folder
β‡§βŒ˜OOpen the Documents folder
β‡§βŒ˜PShow or hide the Preview pane
β‡§βŒ˜ROpen the AirDrop window
β‡§βŒ˜TShow or hide the tab bar
βŒƒβ‡§βŒ˜TAdd selected Finder item to the Dock
β‡§βŒ˜UOpen the Utilities folder
βŒ₯⌘DShow or hide the Dock
βŒƒβŒ˜TAdd selected item to the sidebar
βŒ₯⌘PHide or show the path bar
βŒ₯⌘SHide or show the Sidebar
⌘/Hide or show the status bar
⌘JShow View Options
⌘KOpen the Connect to Server window
βŒƒβŒ˜AMake an alias of the selected item
⌘NOpen a new Finder window
βŒ₯⌘NCreate a new Smart Folder
⌘TShow or hide the tab bar (single tab)
βŒ₯⌘TShow or hide the toolbar (single tab)
βŒ₯⌘VMove files from Clipboard to current location
⌘YUse Quick Look to preview files
βŒ₯⌘YView Quick Look slideshow
⌘1View as icons
⌘2View as list
⌘3View in columns
⌘4View in gallery
⌘[Go to previous folder
⌘]Go to next folder
βŒ˜β†‘Open containing folder
βŒ˜βŒƒβ†‘Open containing folder in new window
βŒ˜β†“Open selected item
β†’Open selected folder (list view only)
←Close selected folder (list view only)
⌘DeleteMove to Trash
β‡§βŒ˜DeleteEmpty Trash
βŒ₯β‡§βŒ˜DeleteEmpty Trash without confirmation
⌘+Brightness DownToggle video mirroring
βŒ₯+Brightness UpOpen Displays preferences
βŒƒ+Brightness Up/DownChange external display brightness
βŒ₯⇧+Brightness Up/DownAdjust brightness in smaller steps
βŒ₯+Mission ControlOpen Mission Control preferences
⌘+Mission ControlShow desktop
βŒƒβ†“Show all windows of front app
βŒ₯+Volume UpOpen Sound preferences
βŒ₯⇧+Volume Up/DownAdjust volume in smaller steps
βŒ₯+Keyboard Brightness UpOpen Keyboard preferences
βŒ₯⇧+Keyboard Brightness Up/DownAdjust keyboard brightness in smaller steps
βŒ₯+double-clickOpen in separate window, close original
⌘+double-clickOpen folder in separate tab/window
⌘+drag to volumeMove instead of copy
βŒ₯+dragCopy item
βŒ₯⌘+dragMake alias of item
βŒ₯+click disclosure triangleOpen all folders (list view only)
⌘+click window titleSee containing folders