1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-04 23:58:01 +00:00

Add Disable Swipe Navigation For A Specific App as a mac til

This commit is contained in:
jbranchaud
2018-06-01 14:27:23 -05:00
parent 10203b9b21
commit 2525522d9c
2 changed files with 19 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
# Disable Swipe Navigation For A Specific App
Mac's touch pad has a bunch of handy swipe gestures, including swiping two
fingers to the left or the right to navigate backward or forward. This
particular gesture can be globally enabled and disabled. I find it useful
for most apps and a pain in a few apps, such as Google Chrome.
From the terminal we can disable it for a specific app (like Google Chrome):
```bash
$ defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool FALSE
```
Restart the target application, in my case Chrome. The left and right swipe
navigation will no longer be triggered.
[source](https://apple.stackexchange.com/questions/21236/how-do-i-disable-chromes-two-finger-back-forward-navigation)