Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to load/refresh default preference plists

Hi guys,


I am facing the following problem at the moment: we got a couple iMac clients in a computer pool bound to an AD, which as a default disables the secondary mouse button on the AD user's account on first login.

So I came up with the idea of running a script on startup which basically runs the terminal command


defaults write com.apple.driver.AppleHIDMouse Button2 -int 2


which works fine, but sadly it only takes effect after the next login. What it does is essentially manipulating the file com.apple.driver:AppleHIDMouse.plist in the user's Library/Preferences/ directory.


So I'm trying to figure out now how to reload this plist file to have it's changes take effect right away. Unfortunately the mechanics of these preference plists are not well documented.


Does anyone know how I can make the system reload defaults/preferences from this file?


Thanks in advance,

Jo

Posted on Nov 21, 2012 7:28 AM

Reply

There are no replies.

How to load/refresh default preference plists

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.