Sub topic 5
Scrolling and natural scroll direction
This chapter assumes you can use the Dock, Finder and System Settings, and that you have read the earlier chapters on your input device and on pointing and clicking. It covers two-finger scrolling, what "natural" scroll direction means, and how to check or change it.
How two-finger scrolling works
On a Multi-Touch trackpad, you scroll by placing two fingers on the surface and sliding them together. The content under the pointer moves with your fingers. You don't need to click, and you don't need to point at a scroll bar. The window under the pointer scrolls, even if it is not the front window.
Scrolling has momentum. If you flick and lift your fingers, the content keeps moving and slows down on its own. Put two fingers back on the trackpad to stop it.
On a Magic Mouse, you slide one finger along the top surface. Magic Mouse gestures are covered in a later chapter.
What natural scroll direction means
Natural scrolling makes the content follow your fingers, like a sheet of paper on a desk. Slide two fingers up and the page moves up, so you see content that was further down. Slide them down and the page moves down, so you see the top again.
With natural scrolling off, the older convention applies. Sliding fingers down moves the view up the page, as if you were dragging a scroll bar thumb. Sliding fingers up moves the view down the page.
| Setting | Fingers slide up | What you see |
|---|---|---|
| Natural scrolling on | Page moves up | Content further down the page |
| Natural scrolling off | Page moves down | Content further up the page |
The setting is a single switch. It applies to the trackpad and to the Magic Mouse. Many users who also use a wheel mouse turn it off, because the wheel on most mice uses the older direction.
Changing the setting in System Settings
- Open System Settings.
- Choose Trackpad in the sidebar.
- Open the Scroll & Zoom tab.
- Turn Natural scrolling on or off.
Mouse users find the same switch under Mouse in the sidebar. The exact layout varies a little between macOS versions, but the label stays the same.
Checking the setting from Terminal
The preference is stored under the key com.apple.swipescrolldirection in the global domain. You can read it with the defaults command:
defaults read NSGlobalDomain com.apple.swipescrolldirectionThe command prints 1 when natural scrolling is on and 0 when it is off. If the key has never been set, defaults reports that the pair does not exist. In that case the system default applies, which is natural scrolling on.
A later chapter covers changing preferences from Terminal. For this one, use defaults read to confirm what System Settings did.
Common problems
- Scrolling feels backwards. Natural scrolling is probably the opposite of what you are used to. Flip the switch and test in a long document.
- Scrolling is wrong only with a mouse. The mouse and trackpad share the setting. Choose the direction you use most.
- Scrolling is too fast or too slow. Adjust the scrolling speed in the Mouse pane. For the trackpad, adjust the tracking speed, which was covered earlier.
- Nothing scrolls. Check that you are using two fingers, not three, and that the fingers are not resting too close together. Later chapters cover troubleshooting in more depth.
Exercise
You slide two fingers down the trackpad and the page moves down, so you see the top of the document. Is natural scrolling on or off? What would defaults read NSGlobalDomain com.apple.swipescrolldirection print?
Show answer
Natural scrolling is on, because the content follows your fingers. The command would print 1.
Exercise
You use a trackpad on your laptop and a wheel mouse at your desk. Wheel scrolling feels backwards. Why does this happen, and what are your options in System Settings?
Show answer
The trackpad and mouse share a single natural scrolling setting, and most wheel mice use the older direction. In System Settings you can only choose one direction for both. A third-party utility is needed for separate directions.