System Shortcuts
- Hide/show dock -
⌥ option+⌘ command+D - Show Hidden Files in Finder -
⇧ shift+⌘ command+. - Activate Dock -
fn+A - Open sidebar -
fn+N - Show desktop -
fn+H - Open control center -
fn+C - New note
fn+Q - Force Quit -
⌥ option+⌘ command+esc
Finder
⇧ shift + ⌘ command + . - Show or Hide hidden files
defaults write com.apple.Finder AppleShowAllFiles true [Press Return] killall Finder
defaults write com.apple.Finder AppleShowAllFiles false [Press Return] killall Finder
Command + K = Connect to Server
Working With windows
-
3 finger swipe up / F3 - Show mission control
-
˄ control+Down- Show all windows of current app -
⌘ command+`- switch to next window -
⌘ command+w- close window or tab -
⌘ command+q- close application
$$
🌐+⌫ backspace- delete
Or use AltTab.
Screenshot Tool
Shortcuts
⌘ command+⇧ shift+3= Capture Full Screen⌘ command+⇧ shift+4= Capture Area (press Space to capture Window)⌘ command+⇧ shift+5= Show GUI
Hold ˄ control to store to Clipboard and not to file.
Hold ⌥ option to remove 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
https://imagemagick.org/Usage/montage/#geometry_size
More MacOS shortucts
https://support.apple.com/en-us/HT201236
System Settings
Local IP address (Wi-Fi): ipconfig getifaddr en0
Local IP address (Ethernet): ipconfig getifaddr en1
Backup
Netatalk
https://getenet.notion.site/Eighty-Shades-of-Option-Key-3c6e58feb5c848ee9d4c027f0b9d52e0
Slovenian language
https://www.hej-apple.si/teme/crkovalnik-spelling-za-slovenscino-office-za-mac.294/
Custom slovenska tipkovnica
Skopiraj v /Library/Keyboard Layouts/
Disabling System Layouts
By default, there has to be at least one system keyboard layout activated in macOS. In order to disable all system keyboard layouts and to have only the custom one listed, further steps have to be performed.
- Duplicate the current keyboard layout preference file to a temporary location and open it for editing.
cp ~/Library/Preferences/com.apple.HIToolbox.plist /tmp open /tmp/com.apple.HIToolbox.plist
-
Manually remove the entries for system keyboard layouts listed under the key
AppleEnabledInputSources. -
Copy the edited version of the preference file back to its original location:
cp /tmp/com.apple.HIToolbox.plist ~/Library/Preferences/
- Restart the computer.
Update OS with progress
softwareupdate --list (ali -l)
softwareupdate --install --all
softwareupdate -irR
-R restart -r recommended
/softwareupdate-install-all.png.png)
brew
mas
Download large files with retry and progress
wget --continue --progress=dot:mega --tries=0 http://url.com/file.zip
Clear DNS cache
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder