Keyboard Layout keeps falling back to US layout after Reboot (i found a -maybe general- solution! at least it seems so).

Hello,


for a very long time, i had this bug, where the keyboard layout was reseted to US layout after a reboot.

I found a lot of ideas online, but nothing helped.


I had this problem first with a MBP early 2011 on OSX 10.10, then 10.11 and now on a MBP 2014 10.13.


--> Suspected Solution which seems to work for me:


There are two files named 'com.apple.HIToolbox.plist'. One in MacHD/Library/Preferences/ and one in <Userfoldername>/Library/Preferences/. Open those xml files with a text editor TextWrangler (do it for one of the files and overwrite the other later) and search for your preferred keyboard layout name. In my case i found that my desired keyboard layout had a ID with the number 3 and the US keyboard layout had ID number 0. I deleted the US keyboard instances and replaced the IDs of my desired layouts with the number 0.


I modified the file in the User Libraries Preferences folder, copied it to the system library preferences folder and did several reboots. It is definitiely not changing back to US layout (for now). Also the files are keeping their modifications and are not corrected by the system. That leads me to think, that i might solved my case (yey cool).


My post had too many characters, so read along in my next post:

MacBook Pro

Gepostet am 16. Juli 2019 15:03

Antworten

Ähnliche Fragen

3 Antworten

16. Juli 2019 15:08 als Antwort auf Bugfixsearcher

--> this is how they look now (keyboard layout stable after reboot (for german keyboard)):


<?xml version="1.0" encoding="UTF-8"?>


<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">


<plist version="1.0">


<dict>


<key>AppleCurrentKeyboardLayoutInputSourceID</key>


<string>com.apple.keylayout.German</string>


<key>AppleDefaultAsciiInputSource</key>


<dict>


<key>InputSourceKind</key>


<string>Keyboard Layout</string>


<key>KeyboardLayout ID</key>


<integer>0</integer>


<key>KeyboardLayout Name</key>


<string>German</string>


</dict>


<key>AppleDictationAutoEnable</key>


<integer>0</integer>


<key>AppleEnabledInputSources</key>


<array>


<dict>


<key>InputSourceKind</key>


<string>Keyboard Layout</string>


<key>KeyboardLayout ID</key>


<integer>0</integer>


<key>KeyboardLayout Name</key>


<string>German</string>


</dict>


</array>


<key>AppleGlobalTextInputProperties</key>


<dict>


<key>TextInputGlobalPropertyPerContextInput</key>


<true/>


</dict>


<key>AppleInputSourceHistory</key>


<array>


<dict>


<key>InputSourceKind</key>


<string>Keyboard Layout</string>


<key>KeyboardLayout ID</key>


<integer>0</integer>


<key>KeyboardLayout Name</key>


<string>German</string>


</dict>


</array>


<key>AppleSelectedInputSources</key>


<array>


<dict>


<key>InputSourceKind</key>


<string>Keyboard Layout</string>


<key>KeyboardLayout ID</key>


<integer>0</integer>


<key>KeyboardLayout Name</key>


<string>German</string>


</dict>


</array>


</dict>


</plist>

16. Juli 2019 15:19 als Antwort auf Bugfixsearcher

Sorry for the crappy code formatting. This site restricted me from posting the xml text in a code-formatted way saying i would exceed 5000 characters. But when i post it like i posted the two answers before, without code formatting, the filter lets me go on.


Hope this helps someone. If you found the core of the problem and you can explain how i missed the point, please explain your solution in the answers. I want to learn.

16. Juli 2019 15:08 als Antwort auf Bugfixsearcher

--> this is how my files looked before (the bug affected version. don't copy this):


<?xml version="1.0" encoding="UTF-8"?>


<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">


<plist version="1.0">


<dict>


<key>AppleCurrentKeyboardLayoutInputSourceID</key>


<string>com.apple.keylayout.German</string>


<key>AppleDefaultAsciiInputSource</key>


<dict>


<key>InputSourceKind</key>


<string>Keyboard Layout</string>


<key>KeyboardLayout ID</key>


<integer>3</integer>


<key>KeyboardLayout Name</key>


<string>German</string>


</dict>


<key>AppleDictationAutoEnable</key>


<integer>0</integer>


<key>AppleEnabledInputSources</key>


<array>


<dict>


<key>InputSourceKind</key>


<string>Keyboard Layout</string>


<key>KeyboardLayout ID</key>


<integer>3</integer>


<key>KeyboardLayout Name</key>


<string>German</string>


</dict>


</array>


<key>AppleGlobalTextInputProperties</key>


<dict>


<key>TextInputGlobalPropertyPerContextInput</key>


<true/>


</dict>


<key>AppleInputSourceHistory</key>


<array>


<dict>


<key>InputSourceKind</key>


<string>Keyboard Layout</string>


<key>KeyboardLayout ID</key>


<integer>3</integer>


<key>KeyboardLayout Name</key>


<string>German</string>


</dict>


<dict>


<key>InputSourceKind</key>


<string>Keyboard Layout</string>


<key>KeyboardLayout ID</key>


<integer>0</integer>


<key>KeyboardLayout Name</key>


<string>U.S.</string>


</dict>


</array>


<key>AppleSelectedInputSources</key>


<array>


<dict>


<key>InputSourceKind</key>


<string>Keyboard Layout</string>


<key>KeyboardLayout ID</key>


<integer>3</integer>


<key>KeyboardLayout Name</key>


<string>German</string>


</dict>


</array>


</dict>


</plist>




Dieser Thread wurde vom System oder dem Community-Team geschlossen. Du kannst alle Beiträge positiv bewerten, die du hilfreich findest, oder in der Community nach weiteren Antworten suchen.

Keyboard Layout keeps falling back to US layout after Reboot (i found a -maybe general- solution! at least it seems so).

Willkommen in der Apple Support Community
Ein Forum, in dem Apple-Kunden sich gegenseitig mit ihren Produkten helfen. Melde dich mit deinem Apple Account an, um Mitglied zu werden.