I made a cool, little script that will edit my /usr/share/X11/xkb/symbols/pc file automatically. It is useful when I want to switch between a Mac or Windows keyboard.
The one problem I've encountered is that I have to log out and then log back in after editing the file in order for the edited configuration to take effect.
I've tried deleting my xkb cache (/var/lib/xkb/*.xkm), but that did work.
Any help would be greatly appreciated. Cheers.