Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I wonder how to edit the following two files, so that I can change the system keyboard layout. It seems they are binary resource files, but I'm not sure.

/System/Library/Keyboard\ Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/AppleKeyboardLayouts-B.dat

/System/Library/Keyboard\ Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/AppleKeyboardLayouts-L.dat

I could use Ukelele to create a custom layout, but I would like to know how Ukelele reads the current layouts, and more over whether it is posible to edit the system layout directly.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

As far as I know, nobody has found a way to edit the system layouts directly. Making a custom layout via Ukelele is the way to go.

share|improve this answer

Although I prefer to just make my own maps, it seems that a lot of the files for the default keyboards are stored in /opt/X11/share/X11/xkb/keymap

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.