Skip to main content
Question

Policy for " Natural Scrolling"

  • April 8, 2012
  • 30 replies
  • 153 views

Forum|alt.badge.img+3

is there a way to disable "Natural Scrolling" i tried to pull the plist and import into casper and WGM with no affect.

30 replies

talkingmoose
Forum|alt.badge.img+36
  • Community Manager
  • April 8, 2012

Are you using the following?

Domain: .GlobalPreferences
Key: com.apple.swipescrolldirection
Value: false
Apply Setting To: User Level...

Since this is a user preference and user preferences are their own (not for us to dictate) I suggest applying "User Level At Next Login Only". This sets the default that you think is appropriate but allows the user to change it back if he prefers.


Forum|alt.badge.img+18
  • Valued Contributor
  • June 5, 2012

I am also trying to disable this setting. Apparently it can be applied at either the user level (~/Library/Preferences/.GlobalPreferences.plist) or the system level (/Library/Preferences/.GlobalPreferences.plist):

http://themacadmin.com/?p=494

However, I have had no luck getting this setting to stick using MCX settings from the JSS. I set it up using the proper domain, key, and value. I have tried both user and system level.

Is MCX via Casper a reliable means of applying settings? So far it seems to be really wonky. I would gladly use config profiles (my clients are all Lion), if I could customize them to my needs. Sadly, there do not appear to be nearly as many settings that are configurable via profiles. Perhaps I'm missing something... can I use profiles to configure settings such as scrolling direction?


Forum|alt.badge.img+21
  • Contributor
  • June 5, 2012

I gave up on the MCX in Lion for now...was running out of time to push out an image. I just created a Fill User Template dmg for the .GlobalPreferences.plist file and that works fine. I'm only using it in a lab, office users can just change their setting once if they don't like it. Trying to keep most things default as the OS ships.


Forum|alt.badge.img+17
  • Honored Contributor
  • June 6, 2012

I'm doing it through MCX - exactly what talkingmoose has above, but we do every login.


Forum|alt.badge.img+18
  • Valued Contributor
  • June 8, 2012

OK, I must be doing something wrong, because this is not working reliably for me. I tried using a script to issue the 'defaults write' command to /L/P/.GlobalPreferences, and this does not change the setting for any users, local or network-based. I also tried a policy, set to change the setting for users once, at every login, and/or system wide... no luck with any of these. If I issue a 'jamf mcx -username mysuer', I see the setting get pulled down from the server, and the scrolling direction is (sometimes) changed after a logout. However, it seems that:

  1. The com.apple.swipescrolldirection setting in /Library/Preferences/.GlobalPreferences is being ignored
  2. MCX is not being applied at login, either for local or AD accounts

Could this be related to the bug mentioned here:

https://jamfnation.jamfsoftware.com/discussion.html?id=4499

???


Forum|alt.badge.img+17
  • Honored Contributor
  • June 8, 2012

If you set it to User Lever at Every Login, does it work? If so, it's probably the bug mentioned in your link.


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • June 8, 2012

Double & triple check your caps..


jhbush
Forum|alt.badge.img+27
  • Esteemed Contributor
  • June 8, 2012

Along the same lines as this, has anyone gotten the "tap to click"box checked?
I tried com.apple.mouse.tapBehavior, but with little success.


Forum|alt.badge.img+18
  • Valued Contributor
  • June 11, 2012

CasperSally wrote:

If you set it to User Lever at Every Login, does it work?

Nope, that's what I have it set to, and it does not get applied at login.

I am able to apply it using 'jamf mcx -username foo', and it works after a logout/login. So the setting itself is valid (to answer your question, bentoms), it just isn't being applied properly.

Sigh... Managed Client is one of the last uses that I have for our xServe running 10.6.8 server. It is WAAAAYYY past its prime, and due for retirement, but I can't ditch it until I get MCX working via Casper. At this rate, it looks like I'm stuck. Maybe Apple will release an updated xServe today. Ha.


mm2270
Forum|alt.badge.img+24
  • Legendary Contributor
  • June 11, 2012
Maybe Apple will release an updated xServe today. Ha.

Yeah, and maybe pigs will fly too! :)
Can you get the settings to apply via a script, as in "defaults write, blah blah?" If so, maybe try setting up a login policy that runs this via the Run Command in the Advanced tab. Its a bit of a kludge admittedly, because it should work via plain ol' MCX, but I have no idea why it wouldn't be.


Forum|alt.badge.img+15
  • Esteemed Contributor
  • June 11, 2012

I got this working, but there is currently a bug in the JSS causing "Next Login Only" to be applied at every login. JAMF is aware of the issue.


Forum|alt.badge.img+17
  • Honored Contributor
  • June 12, 2012

JAMF supports MCX. If you haven't already, I'd put a ticket in. This is a setting more than a few of us have working it sounds like (every login at least).


Forum|alt.badge.img+18
  • Valued Contributor
  • June 12, 2012

OH. My. God. I win the prize for world's biggest moron.

"Apply User Level Managed Preferences" was not checked in JSS-->Settings-->Computer Management Framework Settings!

MCX is now working. Wow, I'm dumb.


Forum|alt.badge.img+5
  • Contributor
  • June 15, 2012

Could you possibly post some screenshots of the key you created in the JSS to get this to work? I made a key, but doesn't seem to work. My other MCX policies do.


Forum|alt.badge.img+3
  • New Contributor
  • July 13, 2012
Are you using the following? Domain: .GlobalPreferences Key: com.apple.swipescrolldirection Value: false Apply Setting To: User Level... Since this is a user preference and user preferences are their own (not for us to dictate) I suggest applying "User Level At Next Login Only". This sets the default that you think is appropriate but allows the user to change it back if he prefers.

I've set this up, but I am unclear on what the "Key Type" should be set to: boolean, string, integer, etc?

Thanks


Forum|alt.badge.img+17
  • Honored Contributor
  • July 13, 2012

boolean


Forum|alt.badge.img+3
  • New Contributor
  • July 13, 2012

@Sally~

Thanks! About the same time you were posting this, I ended up finding the answer too:

To change the scroll behavior for all users (there are no line breaks in this command either)… defaults write /Library/Preferences/.GlobalPreferences com.apple.swipescrolldirection -bool <value>

Turns out, this was in the link that was shared above by Andy. When I saw the "-bool", that clued me in.

But thanks again!


mm2270
Forum|alt.badge.img+24
  • Legendary Contributor
  • July 13, 2012

Edit: Never mind, already answered.


Forum|alt.badge.img+3
  • New Contributor
  • July 13, 2012

@CasperSally~ or anyone who knows:

By the way, the MCX issue that was referenced above, has that ever been resolved? I'm going to put this Managed Preference into affect, and I was planning to use "User Level At Next Login". Not to mention, we are also moving our users to AD accounts, rather than setting up a local account for them as we had done in the past, so will this also apply to AD users as well? Thanks!


Forum|alt.badge.img+17
  • Honored Contributor
  • July 13, 2012

Yes AD users. I'm not sure if the next login issue was addressed - we have it set for now for every login and no one has complained (yet)


Forum|alt.badge.img+5
  • Contributor
  • March 12, 2013

I was not able to get com.apple.swipescrolldirection = false to stick using a custom configuration profile. Has anyone else?


Forum|alt.badge.img+15
  • Esteemed Contributor
  • October 23, 2013

Anybody get com.apple.swipescrolldirection working in 10.9 yet? My Managed Preference setting that worked fine in 10.7/10.8 doesn't appear to be working. Manually running a defaults write command appears to work from a test machine, but not as part of a login script.


Forum|alt.badge.img+15
  • Esteemed Contributor
  • October 23, 2013

Additionally in 10.9, If I manually run "jamf -mcx -username user" after getting logged in it applies and works correctly.


Forum|alt.badge.img+18
  • Valued Contributor
  • November 4, 2013

Anyone figured out how to do this via a configuration profile ?


grecopj
Forum|alt.badge.img+8
  • Valued Contributor
  • July 16, 2014

Trying to get this to work with JSS 9.32 and 10.9.4 and AD users. Cannot get the setting to stick to disable Natural Scrolling. Is there a fix in site? Thanks