Ivan Tomica

Persist login screen keyboard layout on Mac OS X

When I was setting up Macbook I selected Croatian keyboard layout and for some reason it was defined as default from that moment for login screen. Although I primarily use US layout and have changed it for my account Croatian was still used for login screen once the computer powered on.

No matter how I changed default layout and set up global one it would still default to Croatian after the reboot. Then I find out about com.apple.HIToolbox.plist file located in ~/Library/Preferences folder. That file is used for storing your user keyboard layouts.

As my user already had layouts setup in a way that was ideal for me I’ve copied this file to main library folder:

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

Now my layout on login screen is the way I want it.

Sysadmin on the everlasting journey of learning. Always in search for an opportunity to prove myself and to learn something new. My addiction is learning and my main goal is to excel in every aspect of Linux/Unix system administration.


Leave a Reply

Your email address will not be published. Required fields are marked *