1

i have been trying to change value for this command and it doesn't work.

This is what it shows:-

vbabbar@VBabbar-Macbook ~ % defaults read -g com.apple.swipescrolldirection 1

vbabbar@VBabbar-Macbook ~ % defaults write -g com.apple.swipescrolldirection 0 vbabbar@VBabbar-Macbook ~ % defaults read -g com.apple.swipescrolldirection 1

vbabbar@VBabbar-Macbook ~ % defaults write -g com.apple.swipescrolldirection -bool True vbabbar@VBabbar-Macbook ~ % defaults read -g com.apple.swipescrolldirection 1

vbabbar@VBabbar-Macbook ~ % defaults write -g com.apple.swipescrolldirection -bool False vbabbar@VBabbar-Macbook ~ % defaults read -g com.apple.swipescrolldirection 1

The read value always shows 1 and never changes to 0. i have tried using 0,True and Falsse in default write. So is the function for changing DEFAULTS in mac os has been changed since MAc OS X - CATALINA and Above OS 11/12 n 13?

pls tell a Correct method to change Defaults via Terminal with an example

defaults write .GlobalPreferences_m

or

defaults read Analytics Option" "HostWindowGeometry/.FullScreen" = 0; OR

defaults read com.apple.keyboard.fnState" = 0

  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Jan 30 '23 at 05:22
  • I am having the same issue. Did you figure out a solution? – Levi Jun 11 '23 at 08:41

1 Answers1

2

I’ve been trying to figure out the same thing. It looks like you have to kill the process you’re working on with killall so the default doesn’t get automatically overwritten by a running process. I’m not there yet though. This guy has a decent page about it.

  • that makes sense. I am having this issue as I try to change `com.apple.AppleMultiTouchTrackpad Clicking`, the changes doesn't seem to be saved. How can I figure out what process I have to kill to prevent it from overwriting my change? – Levi Jun 11 '23 at 08:38