System Shortcuts
- Hide/show Dock -
⌥ option+⌘ command+D - Activate Dock -
fn+A - Notification Center -
fn+N - Control Center -
fn+C - Quick Note -
fn+Q - Show desktop -
fn+H - Forward delete -
fn+⌫ backspace - Force Quit -
⌥ option+⌘ command+esc
Finder
- Show/hide hidden files -
⇧ shift+⌘ command+. - Connect to server -
⌘ command+K
Show hidden files permanently:
defaults write com.apple.finder AppleShowAllFiles true; killall Finder
Hide them again:
defaults write com.apple.finder AppleShowAllFiles false; killall Finder
Working With Windows
- Mission Control - 3 finger swipe up,
F3 - All windows of current app -
⌃ control+↓ - Next window of current app -
⌘ command+` - Close window or tab -
⌘ command+W - Quit app -
⌘ command+Q
Or use AltTab.
Screenshot Tool
Shortcuts
- Capture full screen -
⇧ shift+⌘ command+3 - Capture area -
⇧ shift+⌘ command+4(pressspaceto capture a window) - Screenshot toolbar -
⇧ shift+⌘ command+5
Hold ⌃ control to copy to the clipboard instead of saving a file.
Hold ⌥ option to remove the window shadow.
Remove Shadow Permanently
Disable shadow:
defaults write com.apple.screencapture disable-shadow -bool true; killall SystemUIServer
Re-enable shadow:
defaults write com.apple.screencapture disable-shadow -bool false; killall SystemUIServer
Save JPG Not PNG
- Switch to JPG -
defaults write com.apple.screencapture type jpg; killall SystemUIServer - Switch back to PNG -
defaults write com.apple.screencapture type png; killall SystemUIServer
Combine screenshots: ImageMagick montage (arhiv)
Network
- Local IP address (Wi-Fi) -
ipconfig getifaddr en0 - Local IP address (other interfaces) -
ipconfig getifaddr en1(check names withnetworksetup -listallhardwareports)
Clear DNS cache:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
Download large files with retry and progress:
wget --continue --progress=dot:mega --tries=0 http://url.com/file.zip
Update OS With Progress
List updates:
softwareupdate --list
Install all updates:
softwareupdate --install --all
Install recommended updates and restart:
softwareupdate -irR
-i- install-r- recommended only-R- restart when needed

Update apps too:
brew upgrade
mas upgrade
Backup
- Time Machine to a disk shared from Windows
- Netatalk - Time Machine server for Linux
Slovenian Language
Custom Slovenian Keyboard
Copy the layout to /Library/Keyboard Layouts/.
Disabling System Layouts
By default, at least one system keyboard layout must be enabled in macOS. To disable all system layouts and keep only the custom one:
-
Copy the keyboard layout preferences to a temporary location and open them for editing:
cp ~/Library/Preferences/com.apple.HIToolbox.plist /tmp open /tmp/com.apple.HIToolbox.plist -
Remove the system keyboard layout entries under
AppleEnabledInputSources. -
Copy the edited file back:
cp /tmp/com.apple.HIToolbox.plist ~/Library/Preferences/ -
Restart the computer.