I have a custom keyboard layout which MacOSX doesn't recognize as Latin, so it doesn't allow me to remove the US default layout.
I'd like to know what would make my layout be recognized as Latin.
Is the US default layout stored in a file somewhere? so I can compare it to mine and figure out what to change.
My layout is a modified US-international so it should be recognized as Latin with no problems.

Update: I solved it by setting the keyboard id to 1.

enter image description here


4 Answers 4


I solved this by setting the keyboard id to 1.

enter image description here

  • I changed the id, touched /Library/Keyboard Layouts/, and restarted, but still can't disable the U.S layout. I've set my custom layout as the default by running sudo "/System/Library/CoreServices/Setup Assistant.app/Contents/MacOS/Setup Assistant". I tried enabling other input methods as well... Do you have a physical keyboard with a Chinese layout or something?
    – Lri
    Apr 30, 2012 at 12:59
  • 1
    @Lri Setting the id to 1 also did not work for me, I tried User/Library, Library, and System/Library. Apr 30, 2012 at 19:34
  • @Lri @Tom Sorry to hear it didn't work for you. I just set the id to 1 and worked, when I selected the U.S. keyboard, it wasn't greyed out anymore, so I took it out. I just used ~/Library. It doesn't work perfectly, as the keyboard turns to chinese whenever I have to enter the admin password, and I cannot change it. (it's ok, since I just type it and hit enter instead of space and it outputs in Roman letters). I just have a plain physical U.S. keyboard.
    – Petruza
    May 2, 2012 at 13:19
  • 1
    Din't worked for me as well. I'm running 10.11.4
    – Sergei
    Apr 17, 2016 at 9:54
  • 1
    @sergei: maybe Apple managed to break it again for 10.11, I'm not using this anymore so not sure if it would still work.
    – Petruza
    Apr 19, 2016 at 16:51

Disclaimer first: I haven't tried this myself.

In the message from user biovizier at 05-07-2007 10:44 PM in the MacWorld forum thread: http://hintsforums.macworld.com/archive/index.php/t-71629.html , it is claimed that it is possible if it matched both the ID and the name of an existing "approved" layout, and that the cache should be cleared to remove the old, compiled version of a such.

However, the thread is quite old so it may have been tightened even further in newer versions.


I think to do what you want you would probably have to modify what is in AppleKeyboardLayouts.bundle, and I haven't seen a way to do that.


There are several different layouts you can use and install from The University of Chicago Library page:

Handy Unicode utilities tools listed here:

And, you can also customize your layout System Preferences > Language & Text > Text:

enter image description here

  • Thanks, but it's not what I asked.
    – Petruza
    May 4, 2012 at 2:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .