Tap to Click - El Cap and Sierra

lzdesktop
New Contributor II

Does any one know what the command line is to enable tap to click? I tried these commands but not non of them take:

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
defaults write /Library/Preferences/.GlobalPreferences com.apple.mouse.tapBehavior -int 1

2 REPLIES 2

athomson
New Contributor III

This seems to work for me and my BlueTooth Trackpad.

defaults write com.apple.AppleMultitouchTrackpad Clicking -bool true

sdagley
Esteemed Contributor II

@athompson When you say that seems to work for you, do you mean it works for you from the command line locally on a machine, or that you're using it in a configuration script to set it globally for all users on a machine? Given the lack of the /Library/Preferences/ prefix on the domain to write the pref to I suspect it's the former, and what I'm looking for is the latter.