New macOS category

This commit is contained in:
Rico Sta. Cruz 2018-03-20 17:55:17 +08:00
parent 3e1d6d425a
commit 28c5a8f314
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
3 changed files with 38 additions and 0 deletions

View File

@ -14,6 +14,7 @@ names:
- Jekyll
- Ledger
- Markup
- macOS
- Node.js
- Rails
- React

View File

@ -2,6 +2,7 @@
title: AppleScript
updated: 2018-03-17
layout: 2017/sheet
category: macOS
prism_languages: [applescript]
---

View File

@ -0,0 +1,36 @@
---
title: Mouse Acceleration
layout: 2017/sheet
category: macOS
updated: 2018-03-20
weight: -1
intro: |
Disable mouse acceleration with this one weird trick.
---
## Acceleration
### Disabling
```bash
defaults write .GlobalPreferences com.apple.mouse.scaling -1
```
Note: Log out to take effect. If you change *Tracking Speed* under System Preferences, it will undo this fix. Only affects the mouse, not the trackpad.
## Re-enabling
Under *System Preferences**Mouse*, change *Tracking Speed*.
### Trackpad acceleration
```bash
defaults write .GlobalPreferences com.apple.trackpad.scaling -1
```
Works the same way.
## References
- [Disabling mouse acceleration](https://stackoverflow.com/questions/5782884/disabling-mouse-acceleration-in-mac-os-x) _(stackoverflow.com)_