New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better way to set default keyboard? #7
Comments
It didn't work on Yosemite 10.10: the new input source was still missing after restart. I had to encode values in XML using that example on stackoverflow. defaults write com.apple.HIToolbox AppleEnabledInputSources -array '<dict><key>InputSourceKind</key><string>Keyboard Layout</string><key>KeyboardLayout ID</key><integer>0</integer><key>KeyboardLayout Name</key><string>U.S.</string></dict>' '<dict><key>InputSourceKind</key><string>Keyboard Layout</string><key>KeyboardLayout ID</key><integer>19967</integer><key>KeyboardLayout Name</key><string>Russian-BG46</string></dict>' After that the new input source was enabled by OS X. Restart was still needed in Yosemite, and re-log still wasn't enough. |
FIY, this still doesn't work on Sierra 10.12.4.
Whereas this seem to work after restarting.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is for OS X 10.8, but it might just work for 10.9 as well: https://github.com/hjuutilainen/dotfiles/blob/9198bacc8e8ea63bf441a3e313a93a2159037a34/bin/osx-system-defaults.sh#L84-L96
The text was updated successfully, but these errors were encountered: