1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-02 22: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

@@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
For a steady stream of TILs from a variety of rocketeers, checkout
[til.hashrocket.com](https://til.hashrocket.com/).
_682 TILs and counting..._
_683 TILs and counting..._
---
@@ -289,6 +289,7 @@ _682 TILs and counting..._
- [Access System Information On OS X](mac/access-system-information-on-osx.md)
- [Clean Up Old Homebrew Files](mac/clean-up-old-homebrew-files.md)
- [Default Screenshot Location](mac/default-screenshot-location.md)
- [Disable Swipe Navigation For A Specific App](mac/disable-swipe-navigation-for-a-specific-app.md)
- [Display A Message With Alfred](mac/display-a-message-with-alfred.md)
- [Insert A Non-Breaking Space Character](mac/insert-a-non-breaking-space-character.md)
- [List All The Say Voices](mac/list-all-the-say-voices.md)

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)