Always Show Scrollbars in Yosemite 10.10.4

jaymckay
New Contributor II

Hi there,

I am trying to find a way to set scrollbars to "Always show" using a policy/sudo code/script etc.

I've tried the following, but it does not seem to be working: sudo defaults write NSGlobalDomain AppleShowScrollBars -string “Always”

Any help would be GREATY appreciated. My method of deployment is AutoDMG, DEP, then Policies and Configurations after boot. I'd love for this to be a part of the policies/config step.

Thanks,
Jay

2 REPLIES 2

nwiseman
Contributor

I was able to get the defaults write NSGlobalDomain AppleShowScrollBars -string “Always” to work. However, I had to reload any program that was already open before it would take effect. Ex. I had Chrome, Outlook, etc open and ran the command. Nothing showed a change until I quit out that app and re-opened, i could then see the change take place. I could also see it take place on anything that was newly opened. It does seem kinda of strange that making the change from GUI is immediate but doing so through terminal isn't. This was tested on 10.10.4

cdev
Contributor III

IIRC, this ties back to the whole cfprefsd process caching the various settings, so even when things are changed via Terminal, the change isn't quite so immediate. Killing the cfprefsd process should get it to re-initialize and load the setting more quickly. We're only pushing that pref as part of the user template at imaging time, so every account has it set as the default.