I had this strange behaviour on my Mac running OS X my Mac running OS X El Capitan 10.11.6.
When logging in, I have the following keyboard shortcut conflict between Spotlight and keyboard layout switcher:
After disabling it, conflict disappears:
But if I restart my Mac, the configuration was reset back to first step.
Same problem if I changed the keyboard shortcut: It was reset to default configuration after any restart, whatever the shortcut.
What is happening and why OS X isn't able to keep my keyboard preferences?
Best Answer
I indicate here two solutions because the problem may be caused by either :
Ownership problem
To troubleshoot my problem, I opened a Terminal and tried to find which configuration file had a problem:
And in the middle of all my
com.apple.*
files I found one owned by root:So I thought is was not normal. Using
find
, I tried to see if there were other files owned by root:But it was the only one.
So I just changed ownership:
And restarted my computer to verify: bingo !
It was an ownership problem that prevented macOS to save my keybord shortcut preferences.
PList file
Sometimes, System Preferences pane could not keep some options after a restart (e.g. Keyboard and symbol visualizers).
So I tried something else: I backed up and then removed the
com.apple.symbolichotkeys.plist
file.After a system reboot, System Preferences works better.