Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Lion OSX, changing the keyboard layout "Input Sources" setting in the "Language & Text" only changes the setting for the current user. Is there a way to populate the setting to all existing, and also all future new users to the same set of language keyboard layouts?

share|improve this question

The default input source is set in ~/Library/Preferences/ByHost/*.plist (where * is system_profiler | grep 'Hardware UUID').

You could either copy the file to other acccounts: sudo cp ~/Library/Preferences/ByHost/*.plist ~/Users/username/Library/Preferences/ByHost/.

Or add it to the User Template directory so that it will be included by default on new accounts: d=/System/Library/User\ Template/English.lproj/Library/Preferences/ByHost; sudo mkdir -p "$d"; sudo cp ~/Library/Preferences/ByHost/*.plist "$d".

Note that the UUID will have to be changed if the file is copied to another computer.

You can view or edit the property list in a text editor by converting it from binary to XML: f=~/Library/Preferences/ByHost/*.plist; plutil -convert xml1 $f; open $f -a TextEdit.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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