Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add trackpad tap to click behaviour #203

Open
4 of 5 tasks
yannbertrand opened this issue Jan 17, 2022 · 3 comments
Open
4 of 5 tasks

Add trackpad tap to click behaviour #203

yannbertrand opened this issue Jan 17, 2022 · 3 comments
Labels
new command Add a new command

Comments

@yannbertrand
Copy link
Owner

  • I made sure this command is not in the commands list
  • I searched and didn't find this command in the listed issues
  • I know this defaults command exists
  • I know this command works on macOS current version
  • I know this command is deprecated on macOS current version
  • Folder: Trackpad (NEW)
  • Command: defaults -currentHost read NSGlobalDomain com.apple.mouse.tapBehavior
  • Argument type (if applicable): bool
  • Examples:
    • defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -bool true
    • defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -bool false
@yannbertrand yannbertrand added the new command Add a new command label Jan 17, 2022
@namtonthat
Copy link

To add to this: #270 can be added within the same folder to add three finger dragging for windows

@ayoreis
Copy link

ayoreis commented Jun 28, 2023

Hi! Can I add this? I was just going to propose it.

A reason to use these commands instead of changing it in System Preferences is sometimes without a battery installed it just says searching for Bluetooth trackpads. [1][2][3][4][5][6]

Is there a way to have a "uses cases" section? It would be good way for other people searching for a solution to find the website.

@willdhorn
Copy link

This seems to have changed with Ventura since the domain for trackpad settings is now "com.apple.AppleMultitouchTrackpad" and the relevant keys are:

  • "Clicking"
    • 1 enables tap to click (default is 0 for all).
    • UI setting is in Trackpad > Point & Click. Turning this off in the UI will reset Dragging and DragLock to 0
  • "Dragging"
    • 1 enables tap to drag.
    • UI setting is not in Trackpad controls but instead at Accessibility > Pointer Control > Trackpad Options
  • "DragLock"
    • 1 enabled drag lock when using tap to drag.
    • UI setting is next to Dragging in Accessibility > Pointer Control > Trackpad Options
      • (the dropdown also has an option that sets "TrackpadThreeFingerDrag")

However, changing any of these from the command line with defaults seemed to have no affect. It might require a restart for the changes to get picked up when not setting them through System Preferences/Settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new command Add a new command
Projects
None yet
Development

No branches or pull requests

4 participants