VMware Fusion com.apple.HIToolbox.plist

N

noiseless

Mitglied
Thread Starter
Dabei seit
23.08.2008
Beiträge
75
Reaktionspunkte
3
Guten Tag !

Ich habe ein sehr merkwürdiges Problem mit VMware Fusion. Scheinbar gefällt dem Programm irgendwas an meiner

"com.apple.HIToolbox.plist" nicht . In dieser Datei werden die Keyboard Settings eingestellt.

Jedenfalls kommt es immer zu folgender Fehlermeldung.

Code:
2019-06-27 13:37:47.159 vmware-vmx[1330:11270] isPrefsCreateCacheFromEnabledAndDefaultInputSources - can't find anything from GetInputSourceEnabledPrefs, use defaultASCIIKeyLayoutDict = <CFBasicHash 0x7fb48c4008b0 [0x7fff9f1658e0]>{type = immutable dict
, count = 3,
entries =>
        0 : <CFString 0x7fff9ef34228 [0x7fff9f1658e0]>{contents = "InputSourceKind"} = <CFString 0x7fff9ef34be8 [0x7fff9f1658e0]>{contents = "Keyboard Layout"}
        1 : <CFString 0x7fff9ef34c28 [0x7fff9f1658e0]>{contents = "KeyboardLayout Name"} = German
        2 : <CFString 0x7fff9ef34c08 [0x7fff9f1658e0]>{contents = "KeyboardLayout ID"} = <CFNumber 0x327 [0x7fff9f1658e0]>{value = +3, type = kCFNumberSInt32Type}
}

Scheinbar bin ich mit dem Problem ziemlich allein. Das einzige was ich gefunden habe ist. Datei löschen -> booten . Problem gelöst. Dem ist bei mir, aber nicht so .

Da ich das Problem auch in einer VM nachstellen kann , weiß ich nun gar nicht mehr weiter. Möglicherweise ist das eher ein Apple Problem... , aber darauf kann ich nicht warten.

Kann mir jemand den Inhalt seiner com.apple.HIToolbox.plist zur Verfügung stellen ?

Das geht ganz einfach mit XCODE oder wer das nicht installiert hat.

AppleScript aufrufen .

Neu

Code:
do shell script ("defaults read /Users/$USER/Library/Preferences/com.apple.HIToolbox.plist")

einfügen und auf Play drücken.

Es gibt wohl auch noch eine Datei in /Library/Preferences/com.apple.HIToolbox.plist , bei mir existiert
diese , aber gar nicht. Bei Euch ?

Meine sieht folgendermaßen aus.

Code:
"{
    AppleCurrentKeyboardLayoutInputSourceID = \"com.apple.keylayout.German\";
    AppleEnabledInputSources =     (
                {
            InputSourceKind = \"Keyboard Layout\";
            \"KeyboardLayout ID\" = 3;
            \"KeyboardLayout Name\" = German;
        },
                {
            \"Bundle ID\" = \"com.apple.PressAndHold\";
            InputSourceKind = \"Non Keyboard Input Method\";
        }
    );
    AppleInputSourceHistory =     (
                {
            InputSourceKind = \"Keyboard Layout\";
            \"KeyboardLayout ID\" = 3;
            \"KeyboardLayout Name\" = German;
        }
    );
    AppleSelectedInputSources =     (
                {
            InputSourceKind = \"Keyboard Layout\";
            \"KeyboardLayout ID\" = 3;
            \"KeyboardLayout Name\" = German;
        },
                {
            \"Bundle ID\" = \"com.apple.PressAndHold\";
            InputSourceKind = \"Non Keyboard Input Method\";
        }
    );
}"


Danke und Gruß Noise !
 
Zuletzt bearbeitet:
Es gibt wohl auch noch eine Datei in /Library/Preferences/com.apple.HIToolbox.plist , bei mir existiert
dieser , aber gar nicht. Bei Euch ?

die gibt es bei mir, vielleicht wird die erst erstellt, wenn man mal die tastatur umgeschaltet hat?

Code:
<?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.US</string>
   <key>AppleEnabledInputSources</key>
   <array>
       <dict>
           <key>InputSourceKind</key>
           <string>Keyboard Layout</string>
           <key>KeyboardLayout Name</key>
           <string>German</string>
           <key>KeyboardLayout ID</key>
           <integer>3</integer>
       </dict>
   </array>
   <key>AppleDefaultAsciiInputSource</key>
   <dict>
       <key>InputSourceKind</key>
       <string>Keyboard Layout</string>
       <key>KeyboardLayout Name</key>
       <string>German</string>
       <key>KeyboardLayout ID</key>
       <integer>3</integer>
   </dict>
   <key>AppleDateResID</key>
   <dict>
       <key>smRoman</key>
       <integer>3</integer>
   </dict>
   <key>AppleInputSourceHistory</key>
   <array>
       <dict>
           <key>InputSourceKind</key>
           <string>Keyboard Layout</string>
           <key>KeyboardLayout Name</key>
           <string>German</string>
           <key>KeyboardLayout ID</key>
           <integer>3</integer>
       </dict>
   </array>
   <key>AppleTimeResID</key>
   <dict>
       <key>smRoman</key>
       <integer>3</integer>
   </dict>
   <key>AppleNumberResID</key>
   <dict>
       <key>smRoman</key>
       <integer>3</integer>
   </dict>
   <key>AppleSelectedInputSources</key>
   <array>
       <dict>
           <key>InputSourceKind</key>
           <string>Keyboard Layout</string>
           <key>KeyboardLayout Name</key>
           <string>German</string>
           <key>KeyboardLayout ID</key>
           <integer>3</integer>
       </dict>
   </array>
</dict>
</plist>
 
Vielen Vielen Dank ! Nun läuft es !

Habe deine Plist eingespielt und die plist in meinem HomeDir gelöscht und gebootet. Klappt sofort.... Ursache bleibt ungeklärt ....
 
Die Unterschiede sieht man ja schon ganz deutlich. Deine Plist ist keine Plist sondern sieht aus wie C/Java-Sourcecode. @oneOeight s Plist ist eine echte XML-Datei. So wie sie halt aussehen muesste. Im Prinzip koennte man deinen Code sogar direkt in eine passende XML-Datei umsetzen.
 
seine code war die ausgabe über
defaults read com.apple.hitoolbox
 
Zurück
Oben Unten