I tried modifying a preference pane plist (with defaults write), but the change doesn’t take effect. Is there a way to make that happen?
Reload modified system plist
plist
Related Question
- MacOS – Modifying .plist with shell changes .plist order
- Create plist through command line
- MacOS – Can’t find .plist files
- How to increase the font size of plist editor (not code editor) in Xcode
- How to replace a value in an plist array using plutil
- How to customize the right click menu
- Editing a system preferences .plist file (not user preferences .plist file)
Best Answer
Assuming a newer version of OS X (10.9+ ?).
You have to kill two processes: the process that manages the preference you are modifying (e.g. killall Finder if it is com.apple.finder that you are modifying) and "cfprefsd".
"cfprefsd" is a newer preference caching service of OS X.
In Terminal.app:
killall cfprefsd && killall Finder
.You could also restart your computer.