# Apple Setup Tips
[25 Mac Settings You Have to Change](https://www.youtube.com/watch?v=psPgSN1bPLY&t=730s)
# Terminal commands
(paste the entire string)
๐๐ฎ๐๐๐ฒ๐ฟ ๐๐ผ๐ฐ๐ธ ๐๐ถ๐ฑ๐ถ๐ป๐ด:
```plaintext
defaults write com.apple.dock autohide-delay -float 0; defaults write com.apple.dock autohide-time-modifier -int 0;killall Dock
```
๐๐ฎ๐๐๐ฒ๐ฟ ๐๐ผ๐ฐ๐ธ ๐๐ถ๐ฑ๐ถ๐ป๐ด ๐จ๐ป๐ฑ๐ผ:
```plaintext
defaults write com.apple.dock autohide-delay -float 0.5; defaults write com.apple.dock autohide-time-modifier -int 0.5 ;killall Dock
```
> Deze vind ik te snel en lelijk
๐๐ฑ๐ฑ ๐๐ผ๐ฐ๐ธ ๐ฆ๐ฝ๐ฎ๐ฐ๐ฒ๐ฟ (paste for each spacer):
```plaintext
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}' && killall Dock
```
๐๐ฑ๐ฑ ๐๐ฎ๐น๐ณ-๐๐ฒ๐ถ๐ด๐ต๐ ๐๐ผ๐ฐ๐ธ ๐ฆ๐ฝ๐ฎ๐ฐ๐ฒ๐ฟ (paste for each):
```plaintext
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="small-spacer-tile";}' && killall Dock
```
๐๐ถ๐๐ฎ๐ฏ๐น๐ฒ ๐๐ป๐ป๐ผ๐๐ถ๐ป๐ด ๐๐ถ๐๐ธ ๐ช๐ฎ๐ฟ๐ป๐ถ๐ป๐ด (must restart Mac to take effect):
```plaintext
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.DiskArbitration.diskarbitrationd.plist DADisableEjectNotification -bool YES && sudo pkill diskarbitrationd
```
๐ฅ๐ฒ-๐๐ป๐ฎ๐ฏ๐น๐ฒ ๐๐ป๐ป๐ผ๐๐ถ๐ป๐ด ๐๐ถ๐๐ธ ๐ช๐ฎ๐ฟ๐ป๐ถ๐ป๐ด:
```plaintext
sudo defaults delete /Library/Preferences/SystemConfiguration/com.apple.DiskArbitration.diskarbitrationd.plist DADisableEjectNotification && sudo pkill diskarbitrationd
```
๐๐น๐๐ฒ๐ฟ๐ป๐ฎ๐๐ฒ๐น๐, ๐ฑ๐ผ๐๐ป๐น๐ผ๐ฎ๐ฑ ๐๐ท๐ฒ๐ฐ๐๐ถ๐ณ๐: [https://ejectify.app](https://www.youtube.com/redirect?event=video_description&redir_token=QUFFLUhqbHJHNEpCNmwtUGVzSmlFUGFKSzc2ZUl0bW5oUXxBQ3Jtc0tsN3ZnNzVmUS1Tb3lPUEZZRUZPQ0ctWFlZZzk5Sm9IZEZYMmdtWDA0Q1lkcm44WW8walNSUm9yby10UzR2dEVXeFl0M2swSU1SZHpXRkNJS0ZpNEJrcTdXZkRPVkprVTlRUXFKS3J3OHZBdFVMbjF0MA&q=https%3A%2F%2Fejectify.app%2F&v=psPgSN1bPLY)
๐๐ต๐ฎ๐ป๐ด๐ฒ ๐ฆ๐ฐ๐ฟ๐ฒ๐ฒ๐ป๐๐ต๐ผ๐ ๐๐ฒ๐ณ๐ฎ๐๐น๐ ๐๐ผ ๐๐ฃ๐ (replace with png to undo):
```plaintext
defaults write com.apple.screencapture type jpg
```
๐ ๐ฎ๐ธ๐ฒ ๐๐ถ๐ฑ๐ฑ๐ฒ๐ป ๐๐ฝ๐ฝ๐ ๐ง๐ฟ๐ฎ๐ป๐๐ฝ๐ฎ๐ฟ๐ฒ๐ป๐:
```html
defaults write com.apple.Dock showhidden -bool TRUE && killall Dock
```
---
[How can I make auto-hide/show for the dock faster?](https://apple.stackexchange.com/questions/33600/how-can-i-make-auto-hide-show-for-the-dock-faster)
To make the Dock **instantly leap back** into view when itโs needed, rather than slide, open a Terminal window and type the following:
```other
defaults write com.apple.dock autohide-time-modifier -int 0;killall Dock
```
---
I find this useful, but if youโd like the animation for the dock to reappear to last for a split-second, try the following:
```other
defaults write com.apple.dock autohide-time-modifier -float 0.25;killall Dock
```
## To explain, changing "0.15" with any number can let you tailor things as it represents the time in seconds taken for the dock to reappear fully.
To revert back to the default sliding effect, open a Terminal window and type the following:
```other
defaults delete com.apple.dock autohide-time-modifier;killall Dock
```
---
[How to reset the Mac Dock to default](https://www.imore.com/os-x-power-tips-resetting-your-dock-its-default)
## How to reset your Dock to its default
1. Open **Terminal** (located in the **Utilities** folder).
2. Type (or copy and paste)
```html
defaults delete com.apple.dock; killall Dock
```
3. Hit **return**.
---
[https://github.com/kerma/defaultbrowser/blob/master/README.md](https://github.com/kerma/defaultbrowser/blob/master/README.md)