Apple - Mavericks input source is set to US keyboard in login screen

I always got the french layout instead of canadian french at logon screen.
Here's the solution that worked for me:

  1. I found that Logon keyboard layout (i.e. french) correspond to:

    defaults read /Library/Preferences/com.apple.HIToolbox.plist

  2. The desired keyboard layout (i.e. canadian french) is saved here:

    defaults read ~/Library/Preferences/com.apple.HIToolbox.plist
    (Notice the ~ !)

  3. To resolve this I changed the logon keyboard to the desired one by overwriting the .plist file (after ensuring that the source plist doesn't contain any occurrence of the unwanted layout):

    • View the file with plutil -convert json ~/Library/Preferences/com.apple.HIToolbox.plist; vi ~/Library/Preferences/com.apple.HIToolbox.plist; plutil -convert binary1 ~/Library/Preferences/com.apple.HIToolbox.plist and ensure that there is no occurrence of the unwanted layout (even in the History).

    • sudo cp ~/Library/Preferences/com.apple.HIToolbox.plist /Library/Preferences/

    • sudo chmod 644 /Library/Preferences/com.apple.HIToolbox.plist

Log off and it's OK. :)


Set it up how you want it in your account and then copy your user com.apple.HIToolbox.plist onto the system one, then reboot.

Run this in Terminal:

sudo cp ~/Library/Preferences/com.apple.HIToolbox.plist /Library/Preferences/

…then restart your computer without going to the login screen (choose restart from the Apple menu without logging out first)


You can change the input source by showing the Input menu in the login window, then selecting your alternative keyboard layout, then logging in to the root account.

  1. Open System PreferencesUsers & Groups.

  2. Unlock the preference pane and select Login Options.

  3. Select Show Input menu in login window.

  4. Immediately log in to the root account.

    The root account should maintain the same selection as the login window. If not, change the input source to match that of the login window, then log out. Both the login window and root account should have the same input source for it to stay permanent.