Skip to content
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

KeyboardLayout Name doesn't exist except 'ABC' #2

Open
hanool opened this issue Sep 22, 2022 · 0 comments
Open

KeyboardLayout Name doesn't exist except 'ABC' #2

hanool opened this issue Sep 22, 2022 · 0 comments

Comments

@hanool
Copy link

hanool commented Sep 22, 2022

When Keyboard Layout is not English, there is no "KeyboardLayout Name" in ~/Library/Preferences/com.apple.HIToolbox.plist AppleSelectedInputSource

My Environment

  • cpu: Apple Silicon M2
  • os: macOS Monterey 12.6
  • tmux: 3.3.a

In My Shell

  • When Keyboard Layout is English
$ defaults read ~/Library/Preferences/com.apple.HIToolbox.plist AppleSelectedInputSources
(
        {
        "Bundle ID" = "com.apple.PressAndHold";
        InputSourceKind = "Non Keyboard Input Method";
    },
        {
        InputSourceKind = "Keyboard Layout";
        "KeyboardLayout ID" = 252;
        "KeyboardLayout Name" = ABC;
    }
)
  • When Keyboard Layout is Korean
$ defaults read ~/Library/Preferences/com.apple.HIToolbox.plist AppleSelectedInputSources
(
        {
        "Bundle ID" = "com.apple.PressAndHold";
        InputSourceKind = "Non Keyboard Input Method";
    },
        {
        "Bundle ID" = "com.apple.inputmethod.Korean";
        "Input Mode" = "com.apple.inputmethod.Korean.2SetKorean";
        InputSourceKind = "Input Mode";
    }
)
  • When Keyboard Layout is Japanese
$ defaults read ~/Library/Preferences/com.apple.HIToolbox.plist AppleSelectedInputSources
(
        {
        "Bundle ID" = "com.apple.PressAndHold";
        InputSourceKind = "Non Keyboard Input Method";
    },
        {
        "Bundle ID" = "com.apple.inputmethod.Kotoeri.RomajiTyping";
        "Input Mode" = "com.apple.inputmethod.Japanese";
        InputSourceKind = "Input Mode";
    }
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant