Skip to main content
Question

Policy for " Natural Scrolling"

  • April 8, 2012
  • 30 replies
  • 153 views

Show first post

30 replies

Forum|alt.badge.img+18
  • Valued Contributor
  • April 16, 2015

Anyone got this working in Yosemite ? We used to bake this setting into OS Packages, but when using an AutoDMG work flow or thin provisioning it would be nice to be able to set this.


Forum|alt.badge.img+7
  • Contributor
  • May 22, 2015

I'm looking for a solution too!


Forum|alt.badge.img+10
  • New Contributor
  • May 22, 2015

I'm still setting some items in the User Template via first run script. This is one of them and it's working fine on 10.10.3.


Forum|alt.badge.img+8
  • Contributor
  • April 5, 2016

Hi All,

Anyone figured this out yet?

I have tried lots of things to disable the Natural Scrolling by default but still for every new user the Natural Scrolling is still Enabled..

I want this to work for Yosemite and El Capitan.

Any advice ?


Forum|alt.badge.img
  • New Contributor
  • April 8, 2016

I discovered this week that a firstboot script I rolled out broke the scroll setting for mouse scroll - kept defaulting back to "natural" direction, wouldn't save the users preference.

This is the script (although I've modified my copy of it):
https://github.com/amsysuk/public_scripts/blob/master/first_boot/10.10_firstBoot.sh

Turned out the permissions on ~/Library/Preferences/.GlobalPreferences.plist was messed up, it had been changed to root:wheel when it should be (for us anyway) username:_appleevents
Might be worth checking.

Otherwise, the following works for the Macs I look after (running 10.10.5):
Tested using a script that runs as currently logged on user to disable 'natural' scrolling

#!/bin/sh
user=$(stat -f %Su /dev/console)
sudo su - $user -c "/usr/bin/defaults write NSGlobalDomain com.apple.swipescrolldirection -bool false"

Can be confirmed that it's changed using :

defaults read NSGlobalDomain

and

ls -lhatr /Users/username/Library/Preferences/.GlobalPreferences

This will list the contents of /Users/username/Library/Preferences/ in reverse order chronologically including hidden files so you can see the most recently modified files in the bottom of the list - .GlobalPreferences should be one of the most recently edited files.
You can use this to also see what plist files are being modified when you make changes via the system prefs gui.

For applying to a user template, believe this should work:

defaults write "/System/Library/User Template/English.lproj/Library/Preferences/.GlobalPreferences.plist" com.apple.swipescrolldirection -bool false