0

I have a custom keyboard layout which I would like to use and I've tried moving the .keylayout file to the /Library/Keyboard Layouts/ and the corresponding directory in home folder, but it doesn't show up in System Preferences app. I've also tried having it only in home/Library/Keyboard Layouts/ or only in /Library/Keyboard Layouts/ and both but to no avail.

I would've tried installing it with Ukelele or creating the bundle but Ukelele won't open it saying only that it isn't valid XML. To me it seems to be correct and it was working at one point, but then after restart it disappeared from the System Preferences.

I have tried this already: Apple Support

You can see the .keylayout file here: Drive DAS Layout

Any help getting this to work is greatly appreciated!

1

A recent discussion in the Ukelele Group indicates that this problem can be caused by having references to certain illegal characters in the XML file, in particular U+0000 and Unicode surrogates.

  • I opened your keylayout file and found that many of your keys do point to U+0000, specifically the following ones, in the keyMap with index="2": 54–64, 68, 73, 74, 79, 80, 90. There may be other issues, however, as after commenting out those lines, Ukelele still says it's invalid XML. – Timothy Mueller-Harder Oct 13 '18 at 20:13
  • @TimothyMueller-Harder there is also a surrogate dc49 maybe , and it should be xml 1.1. – Tom Gewecke Oct 13 '18 at 21:33

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

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