I can't save my system preferences
I've solved it. Change the ~/Library/Preferences/com.apple.dock.plist to be unlocked (get info, uncheck the locked label) and it will work fine. I don't remember when I locked it, but whatever.