-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gestures
91 lines (81 loc) · 7.86 KB
/
.gestures
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#! /usr/local/bin/bash
killall 'System Preferences'
# plistbuddy -c "Set :ActuateDetents 3" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :ActuationStrength 3" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :Clicking 3" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :Dragging 3" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :DragLock 3" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :FirstClickThreshold 3" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :ForceSuppressed true" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :SecondClickThreshold 3" ~//Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :TrackpadCornerSecondaryCLibrarylick 3" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :TrackpadFiveFingerPinchGesture 3" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :TrackpadFourFingerHorizSwipeGesture 3" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :TrackpadFourFingerPinchGesture 3" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :TrackpadFourFingerVertSwipeGesture 3" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :TrackpadHandResting true" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :TrackpadHorizScroll 3" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :TrackpadMomentumScroll true" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :TrackpadPinch 3" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :TrackpadRightClick true" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :TrackpadRotate 3" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :TrackpadScroll true" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :TrackpadThreeFingerDrag true" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :TrackpadThreeFingerHorizSwipeGesture 3" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :TrackpadThreeFingerTapGesture 3" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :TrackpadThreeFingerVertSwipeGesture 3" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :TrackpadTwoFingerDoubleTapGesture 3" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :TrackpadTwoFingerFromRightEdgeSwipeGesture 3" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :USBMouseStopsTrackpad 3" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
# plistbuddy -c "Set :UserPreferences true" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
########################### Original Settings ###########################
plistbuddy -c "Set :ActuateDetents 1" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :ActuationStrength 0" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :Clicking 0" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :Dragging 0" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :DragLock 0" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :FirstClickThreshold 1" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :ForceSuppressed false" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :SecondClickThreshold 1" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :TrackpadCornerSecondaryClick 0" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :TrackpadFiveFingerPinchGesture 2" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :TrackpadFourFingerHorizSwipeGesture 2" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :TrackpadFourFingerPinchGesture 2" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :TrackpadFourFingerVertSwipeGesture 2" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :TrackpadHandResting true" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :TrackpadHorizScroll 1" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :TrackpadMomentumScroll true" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :TrackpadPinch 1" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :TrackpadRightClick true" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :TrackpadRotate 1" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :TrackpadScroll true" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :TrackpadThreeFingerDrag false" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :TrackpadThreeFingerHorizSwipeGesture 2" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :TrackpadThreeFingerTapGesture 0" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :TrackpadThreeFingerVertSwipeGesture 2" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :TrackpadTwoFingerDoubleTapGesture 1" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :TrackpadTwoFingerFromRightEdgeSwipeGesture 3" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :USBMouseStopsTrackpad 0" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :UserPreferences true" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
plistbuddy -c "Set :com.apple.swipescrolldirection false" ~/Library/Preferences/.GlobalPreferences.plist
plistbuddy -c "Set :com.apple.trackpad.forceClick false" ~/Library/Preferences/.GlobalPreferences.plist
plistbuddy -c "Set :com.apple.trackpad.scaling 3" ~/Library/Preferences/.GlobalPreferences.plist
plistbuddy -c "Save" ~/Library/Preferences/.GlobalPreferences.plist
plistbuddy -c "Save" ~/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist
#open -a 'System Preferences'
########################## Trackpad ##############################
# Trackpad: enable tap to click for this user and for the login screen
#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
#Trackpad: map bottom right corner to right-click
# defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadCornerSecondaryClick -int 2
# defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRightClick -bool true
# defaults -currentHost write NSGlobalDomain com.apple.trackpad.trackpadCornerClickBehavior -int 1
# defaults -currentHost write NSGlobalDomain com.apple.trackpad.enableSecondaryClick -bool true
# Trackpad: swipe between pages with three fingers
# defaults write NSGlobalDomain AppleEnableSwipeNavigateWithScrolls -bool true
# defaults -currentHost write NSGlobalDomain com.apple.trackpad.threeFingerHorizSwipeGesture -int 1
# defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadThreeFingerHorizSwipeGesture -int 1
# Disable "natural" (Lion-style) scrolling
# defaults write NSGlobalDomain com.apple.swipescrolldirection -bool false