I have two active keyboard layouts – US english and russian. I have russian as my primary system language and the option "allow different input language for different documents" is active. But when I open any app keyboard automatically switches to russian, while I want it to be english by default. Is there any way to change the default keyboard layout without changing system language?
MacOS – Change main keyboard layout in OS X
input-sourcekeyboardmacossettings
Related Question
- MacOS – How to fix keyboard layout bug in Sierra
- Make custom keyboard layout switch by Caps Lock
- IOS – Write in English using a foreign keyboard layout on iPad
- MacOS – How to change the default macOS login window keyboard layout
- IOS – Physical keyboard layout menu not showing when keyboard connected to iPhone / iPad (iOS 13/14)
- Change the default keyboard input when logging into macOS Big Sur
Best Answer
When I tried enabling the setting (Input source options: Allow a different one for each document), new windows seemed to just use the current input source.
Anyway, you could try running
sudo /System/Library/CoreServices/Setup\ Assistant.app/Contents/MacOS/Setup\ Assistant
and selecting US as the default input method. (You have to go through the steps of creating a new account, but you can delete it later.) It modifies at least/var/root/Library/Preferences/ByHost/com.apple.HIToolbox.*.plist
.If that doesn't work, try running
sudo languagesetup
and selecting English, orsudo defaults write /Library/Preferences/.GlobalPreferences.plist AppleLocale en_US
and restarting.