forked from colonelpanic/dotfiles
Got rid of a few annoying osx defaults.
This commit is contained in:
parent
08806b3ef7
commit
67ac697169
23
.osx
vendored
23
.osx
vendored
@ -13,7 +13,7 @@ while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
# Set computer name (as done via System Preferences → Sharing)
|
# Set computer name (as done via System Preferences → Sharing)
|
||||||
sudo scutil --set ComputerName "IvanMalison"
|
sudo scutil --set ComputerName "IvansMac"
|
||||||
sudo scutil --set HostName "IvanMalison"
|
sudo scutil --set HostName "IvanMalison"
|
||||||
sudo scutil --set LocalHostName "IvanMalison"
|
sudo scutil --set LocalHostName "IvanMalison"
|
||||||
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string "IvanMalison"
|
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string "IvanMalison"
|
||||||
@ -29,13 +29,13 @@ defaults write com.apple.menuextra.battery ShowTime -string "YES"
|
|||||||
defaults write com.apple.systemuiserver menuExtras -array "/System/Library/CoreServices/Menu Extras/Bluetooth.menu" "/System/Library/CoreServices/Menu Extras/AirPort.menu" "/System/Library/CoreServices/Menu Extras/Battery.menu" "/System/Library/CoreServices/Menu Extras/Clock.menu"
|
defaults write com.apple.systemuiserver menuExtras -array "/System/Library/CoreServices/Menu Extras/Bluetooth.menu" "/System/Library/CoreServices/Menu Extras/AirPort.menu" "/System/Library/CoreServices/Menu Extras/Battery.menu" "/System/Library/CoreServices/Menu Extras/Clock.menu"
|
||||||
|
|
||||||
# Always show scrollbars
|
# Always show scrollbars
|
||||||
defaults write NSGlobalDomain AppleShowScrollBars -string "Always"
|
defaults write NSGlobalDomain AppleShowScrollBars -string "Automatic"
|
||||||
|
|
||||||
# Disable opening and closing window animations
|
# Disable opening and closing window animations
|
||||||
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
|
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
|
||||||
|
|
||||||
# Increase window resize speed for Cocoa applications
|
# Increase window resize speed for Cocoa applications
|
||||||
defaults write NSGlobalDomain NSWindowResizeTime -float 0.001
|
defaults write NSGlobalDomain NSWindowResizeTime -float 0.01
|
||||||
|
|
||||||
# Expand save panel by default
|
# Expand save panel by default
|
||||||
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
|
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
|
||||||
@ -62,9 +62,6 @@ defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false
|
|||||||
# Disable automatic termination of inactive apps
|
# Disable automatic termination of inactive apps
|
||||||
defaults write NSGlobalDomain NSDisableAutomaticTermination -bool true
|
defaults write NSGlobalDomain NSDisableAutomaticTermination -bool true
|
||||||
|
|
||||||
# Disable the crash reporter
|
|
||||||
#defaults write com.apple.CrashReporter DialogType -string "none"
|
|
||||||
|
|
||||||
# Set Help Viewer windows to non-floating mode
|
# Set Help Viewer windows to non-floating mode
|
||||||
defaults write com.apple.helpviewer DevMode -bool true
|
defaults write com.apple.helpviewer DevMode -bool true
|
||||||
|
|
||||||
@ -92,11 +89,6 @@ defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool
|
|||||||
defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
|
defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
|
||||||
defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
|
defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
|
||||||
|
|
||||||
# Trackpad: swipe between pages with three fingers
|
|
||||||
defaults write NSGlobalDomain AppleEnableSwipeNavigateWithScrolls -bool true
|
|
||||||
defaults -currentHost write NSGlobalDomain com.apple.trackpad.threeFingerHorizSwipeGesture -int 1
|
|
||||||
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadThreeFingerHorizSwipeGesture -int 1
|
|
||||||
|
|
||||||
# Increase sound quality for Bluetooth headphones/headsets
|
# Increase sound quality for Bluetooth headphones/headsets
|
||||||
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" -int 40
|
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" -int 40
|
||||||
|
|
||||||
@ -130,14 +122,11 @@ defaults write com.apple.BezelServices kDimTime -int 300
|
|||||||
# Set language and text formats
|
# Set language and text formats
|
||||||
# Note: if you’re in the US, replace `EUR` with `USD`, `Centimeters` with
|
# Note: if you’re in the US, replace `EUR` with `USD`, `Centimeters` with
|
||||||
# `Inches`, and `true` with `false`.
|
# `Inches`, and `true` with `false`.
|
||||||
defaults write NSGlobalDomain AppleLanguages -array "en" "nl"
|
defaults write NSGlobalDomain AppleLanguages -array "en"
|
||||||
defaults write NSGlobalDomain AppleLocale -string "en_GB@currency=EUR"
|
defaults write NSGlobalDomain AppleLocale -string "en_US@currency=USD"
|
||||||
defaults write NSGlobalDomain AppleMeasurementUnits -string "Inches"
|
defaults write NSGlobalDomain AppleMeasurementUnits -string "Inches"
|
||||||
defaults write NSGlobalDomain AppleMetricUnits -bool false
|
defaults write NSGlobalDomain AppleMetricUnits -bool false
|
||||||
|
|
||||||
# Set the timezone; see `systemsetup -listtimezones` for other values
|
|
||||||
systemsetup -settimezone "Europe/Brussels" > /dev/null
|
|
||||||
|
|
||||||
# Disable auto-correct
|
# Disable auto-correct
|
||||||
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
|
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
|
||||||
|
|
||||||
@ -283,7 +272,7 @@ defaults write com.apple.dock show-process-indicators -bool true
|
|||||||
defaults write com.apple.dock launchanim -bool false
|
defaults write com.apple.dock launchanim -bool false
|
||||||
|
|
||||||
# Speed up Mission Control animations
|
# Speed up Mission Control animations
|
||||||
defaults write com.apple.dock expose-animation-duration -float 0.1
|
defaults write com.apple.dock expose-animation-duration -float 1
|
||||||
|
|
||||||
# Don’t group windows by application in Mission Control
|
# Don’t group windows by application in Mission Control
|
||||||
# (i.e. use the old Exposé behavior instead)
|
# (i.e. use the old Exposé behavior instead)
|
||||||
|
Loading…
Reference in New Issue
Block a user