diff options
author | Mathias Bynens <mathias@qiwi.be> | 2012-04-10 14:59:54 +0200 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2012-04-10 14:59:54 +0200 |
commit | 91cd6310ec1a27a3138a800484b6b08623f58e7c (patch) | |
tree | 5282384f9c1120732b6afd8b350374c30941182e /.osx | |
parent | 03458f1c65b1192e4371e3dd4d3881f3d60e039a (diff) | |
download | dotfiles-91cd6310ec1a27a3138a800484b6b08623f58e7c.tar.gz dotfiles-91cd6310ec1a27a3138a800484b6b08623f58e7c.tar.bz2 dotfiles-91cd6310ec1a27a3138a800484b6b08623f58e7c.zip |
.osx: Make Trackpad settings more robust
Fixes #48.
Diffstat (limited to '.osx')
-rwxr-xr-x | .osx | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -55,12 +55,16 @@ defaults write NSGlobalDomain KeyRepeat -int 0 # Disable auto-correct defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false -# Enable tap to click (Trackpad) +# Enable tap to click (Trackpad) for this user and for the login screen defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true +defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1 +defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1 # Map bottom right Trackpad corner to right-click defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadCornerSecondaryClick -int 2 defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRightClick -bool true +defaults -currentHost write NSGlobalDomain com.apple.trackpad.trackpadCornerClickBehavior -int 1 +defaults -currentHost write NSGlobalDomain com.apple.trackpad.enableSecondaryClick -bool true # Require password immediately after sleep or screen saver begins defaults write com.apple.screensaver askForPassword -int 1 @@ -208,4 +212,5 @@ file=/Applications/Dropbox.app/Contents/Resources/check.icns unset file # Kill affected applications -for app in Safari Finder Dock Mail SystemUIServer; do killall "$app" > /dev/null 2>&1; done
\ No newline at end of file +for app in Safari Finder Dock Mail SystemUIServer; do killall "$app" > /dev/null 2>&1; done +echo "Done. Note that some of these changes require a logout/restart to take effect."
\ No newline at end of file |