1

Is there a way to disable (or do other things to) the Force Touch settings using either shell scripting or AppleScript? Hacks accepted.

0

3 Answers 3

1

Credit:Control haptic engine and force touch from terminal @bmike

Apple hasn't released an API for that, so the answer until someone reverse engineers it (or Apple releases an API) is no.

The best you can do today is read force touch but not influence the haptic feedback or modify that.

https://developer.apple.com/osx/force-touch/

1

Please use the command listed below. As of 10.13 its a global preference.

Path of Preference: global preference in user preference folder

defaults write NSGlobalDomain com.apple.mouse.forceClick -bool false

Just take the command and add it to your bash or Apple Script.

2
  • 1
    Thanks, but this does not appear to work on my Mac. I found an alternative, com.apple.trackpad.forceClick, but I haven't been able to make this work yet either. Mar 24, 2019 at 0:54
  • Works for me with the alternative only. May 24, 2020 at 21:38
0

While I haven't been able to adjust the haptic feedback settings directly, I have been able to disable the "Lookup & Data Detectors" setting, which is what causes those annoying dictionary pop up suggestions.

defaults write NSGlobalDomain com.apple.trackpad.forceClick -bool false

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .