I've created the custom keyboard layout using Ukelele and save an obtained bundle to /Library/Keyboard Layouts folder.

Unfortunately, when I try to add any new layout in System Preferences app (having something in "Keyboard Layouts" folder), it just crashes. Has anyone encountered this issue?

P.S. macOS 10.13.6

  • Hehe, now I can push the + button, and see that there's "Other" item in the list, but when I choose that "Other" section, Settings app is still crashes – Bogdan Kolesnik Sep 1 at 15:59
  • The problem is still there in another user account – Bogdan Kolesnik Sep 1 at 17:37
  • It's more convinient to upload it to Google Drive: link – Bogdan Kolesnik Sep 1 at 18:47
up vote 0 down vote accepted

I have no problem installing and using your .bundle once the .icns file is removed. I think there is something wrong with it.

Here is a new .icns file which I think will fix the problem. Let us know.

  • Thank you, the issue is gone. However, I don't quite understand how was this icon pack made, and also, the icon that menu bar shows with your .icns file is just a black dot on a white canvas. – Bogdan Kolesnik Sep 2 at 21:03
  • @BogdanKolesnik It's not really a dot, but a very tiny R. It was made too small. I converted your .icns to .png and then used an app image2icon to go back. Will fix the size... – Tom Gewecke Sep 2 at 21:28
  • @BogdanKolesnik I made a larger icon, it's at the same link as the earlier one. – Tom Gewecke Sep 3 at 13:15

So, after some investigation, here’s what I’ve found:

  1. If you add .bundle file to any of the possible folders, System Preferences will crash. BUT, if you add .keylayout file instead, it will work!

  2. If you add a .keylayout file in Home/Library/Keyboard Layouts -> you can add it, it will appear at the layouts list, but you won’t be able to choose your new layout (I read about this bug on this site as well);

  3. However, if you add a .keylayout file in Macintosh HD/Library/Keyboard Layouts -> everything works correctly.

Summing it up, custom layouts are BUGGY in macOS, but you can add one. However, the reason I wanted to add a custom layout was to change russian flag to a neutral icon (and it’s possible in Ukelele using .bundle only, because with .keylayout you’ll see default keyboard icon), so I failed here.

  • Yep, I just every time get confused with names of these folders because of russian localisation – Bogdan Kolesnik Sep 1 at 22:24
  • I don't think there is in fact any bug. .bundle works fine if your .icns file is not botched. Also you do not need .bundle to have a custom icon, you just put both the .keylayout file and the .icns file in the same folder with same names. – Tom Gewecke Sep 2 at 17:39

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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