Is it possible to toggle the the preference setting under Trackpad labeled Secondary Click without logging out and in, so that I can toggle two-finger right-click for the builtin trackpad?
I found the command
defaults -currentHost write NSGlobalDomain com.apple.trackpad.enableSecondaryClick -bool true
But that doesn't seem to work. Toggling the checkbox does also seem to change
~/Library/Preferences/com.apple.driver.AppleBluetoothMultitouch.trackpad.plist when system preferences is closed, but using
defaults to change that doesn't help either.
I'd like to toggle it multiple times in one session without going through system preferences, so logging out and back in isn't preferable.