Update trackpad settings for secondary click options

This commit is contained in:
Billy-George Price-Sprackland
2026-04-01 04:01:34 +01:00
committed by GitHub
parent 4d6b0406ba
commit 931041e25b
Vendored
+7 -5
View File
@@ -70,14 +70,16 @@ osascript -e 'tell application "Finder" to set desktop picture to POSIX file "/S
defaults write com.apple.AppleMultitouchTrackpad FirstClickThreshold -int 0 defaults write com.apple.AppleMultitouchTrackpad FirstClickThreshold -int 0
defaults write com.apple.AppleMultitouchTrackpad ActuationStrength -int 0 defaults write com.apple.AppleMultitouchTrackpad ActuationStrength -int 0
# Trackpad: right-click with two fingers (requires restart!) # Trackpad: secondary click to bottom-right (requires restart!)
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRightClick -bool true defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRightClick -bool true
defaults write com.apple.AppleMultitouchTrackpad TrackpadRightClick -bool true defaults write com.apple.AppleMultitouchTrackpad TrackpadRightClick -bool true
defaults write com.apple.AppleMultitouchTrackpad TrackpadCornerSecondaryClick -int 0
defaults write NSGlobalDomain ContextMenuGesture -int 1
# Disable press-and-hold for keys in favor of key repeat defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadCornerSecondaryClick -int 2
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false defaults write com.apple.AppleMultitouchTrackpad TrackpadCornerSecondaryClick -int 2
defaults write NSGlobalDomain ContextMenuGesture -int 1
# Set a blazingly fast keyboard repeat rate, and make it happen more quickly. # Set a blazingly fast keyboard repeat rate, and make it happen more quickly.
# (The KeyRepeat option requires logging out and back in to take effect.) # (The KeyRepeat option requires logging out and back in to take effect.)