6

So I wanted to toggle this setting from the terminal. I grep'd through defaults read | grep -i click and spotted that toggling this through "System Preferences" changed keys:

  • com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking
  • com.apple.AppleMultitouchTrackpad Clicking

I tried to change them but haven't actually updated this "Tap to click" setting (even if I see mentioned values change after I do it manually through System preferences). Am I missing some other keys I should update using defaults write command?

enter image description here

lukaszb
  • 161
  • 1
  • 2

1 Answers1

1

Did you try?

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

edit:

Don't try. Read this.

Matt Komarnicki
  • 287
  • 1
  • 2
  • 11