March 6, 2016

disable horizontal scroll on MacOS

My girlfriend thought horizontal scrolling on Mac was terrible on some scenarios, Excel, AutoCAD, etc.

El Capitan doesn’t support modify Trackpad and mouse setting.

You may find some keys in user defaults like these:

  • MouseHorizontalScroll in
  • MouseHorizontalScroll in
  • TrackpadHorizScroll in
  • etc

Maybe other OSX works fine, but on El Capitan, it doesn’t work as their name!

I modified a utility for reversing vertical/horizontal scrolling to disable horizontal scrolling.

This the diff:, core code is very small.

Now my girlfriend is happy.

Powered by Hugo & Kiss.