I
I
Ilya2022-02-18 11:48:39
macOS
Ilya, 2022-02-18 11:48:39

How to remove the language switching delay on Mac OS?

Macbook Air has a language switch key (combined with the Fn key).

The essence of the problem: when switching the language with this key, a pop-up window appears that hangs for a "minute" and you can work only after it disappears. Terribly inconvenient and stupid.

How can I disable this window?

I'll give you an example of how it should work.
Mac OS has long had a one-key language switching feature - Caps Lock.
If you enable this feature, pressing the Caps Lock key will instantly switch the input language.
This is how the standard keyboard key for switching the language should work! Instead of displaying this annoying pop-up window, which also switches the language incorrectly, if suddenly the mouse pointer is in its area.

Has anyone already tried to solve this next "joke" from Apple?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
ScriptKiddo, 2022-02-19
@jasper-blondin

Source: https://apple.stackexchange.com/a/436729
1) System Preferences -> Keyboard -> Keyboard -> Press "globe" to: Do ​​nothing
2) Install https://karabiner-elements.pqrs.org/
3) On 12.1, when granting rights to Input monitoring, there will be no karabiner_grabber. You need to add it yourself

/Library/Application Support/org.pqrs/Karabiner-Elements/bin/karabiner_grabber

Just in case, here is a thread for solving typical problems https://github.com/pqrs-org/Karabiner-Elements/iss...
4) Add the rule from the response to stackexchange to karabiner.json. My file looks like this:
karabiner.json
{
    "global": {
        "check_for_updates_on_startup": true,
        "show_in_menu_bar": true,
        "show_profile_name_in_menu_bar": false
    },
    "profiles": [
        {
            "complex_modifications": {
                "parameters": {
                    "basic.simultaneous_threshold_milliseconds": 50,
                    "basic.to_delayed_action_delay_milliseconds": 500,
                    "basic.to_if_alone_timeout_milliseconds": 1000,
                    "basic.to_if_held_down_threshold_milliseconds": 500,
                    "mouse_motion_to_scroll.speed": 100
                },
                "rules": [
                    {
                        "description": "fn -> previous input source",
                        "manipulators": [
                            {
                                "from": {
                                    "key_code": "fn"
                                },
                                "to": [
                                    {
                                        "key_code": "fn"
                                    }
                                ],
                                "to_if_alone": [
                                    {
                                        "key_code": "spacebar",
                                        "modifiers": [
                                            "left_control"
                                        ]
                                    }
                                ],
                                "type": "basic"
                            }
                        ]
                    }
                ]
            },
            "devices": [],
            "fn_function_keys": [
                {
                    "from": {
                        "key_code": "f1"
                    },
                    "to": [
                        {
                            "consumer_key_code": "display_brightness_decrement"
                        }
                    ]
                },
                {
                    "from": {
                        "key_code": "f2"
                    },
                    "to": [
                        {
                            "consumer_key_code": "display_brightness_increment"
                        }
                    ]
                },
                {
                    "from": {
                        "key_code": "f3"
                    },
                    "to": [
                        {
                            "apple_vendor_keyboard_key_code": "mission_control"
                        }
                    ]
                },
                {
                    "from": {
                        "key_code": "f4"
                    },
                    "to": [
                        {
                            "apple_vendor_keyboard_key_code": "spotlight"
                        }
                    ]
                },
                {
                    "from": {
                        "key_code": "f5"
                    },
                    "to": [
                        {
                            "consumer_key_code": "dictation"
                        }
                    ]
                },
                {
                    "from": {
                        "key_code": "f6"
                    },
                    "to": [
                        {
                            "key_code": "f6"
                        }
                    ]
                },
                {
                    "from": {
                        "key_code": "f7"
                    },
                    "to": [
                        {
                            "consumer_key_code": "rewind"
                        }
                    ]
                },
                {
                    "from": {
                        "key_code": "f8"
                    },
                    "to": [
                        {
                            "consumer_key_code": "play_or_pause"
                        }
                    ]
                },
                {
                    "from": {
                        "key_code": "f9"
                    },
                    "to": [
                        {
                            "consumer_key_code": "fast_forward"
                        }
                    ]
                },
                {
                    "from": {
                        "key_code": "f10"
                    },
                    "to": [
                        {
                            "consumer_key_code": "mute"
                        }
                    ]
                },
                {
                    "from": {
                        "key_code": "f11"
                    },
                    "to": [
                        {
                            "consumer_key_code": "volume_decrement"
                        }
                    ]
                },
                {
                    "from": {
                        "key_code": "f12"
                    },
                    "to": [
                        {
                            "consumer_key_code": "volume_increment"
                        }
                    ]
                }
            ],
            "name": "Default profile",
            "parameters": {
                "delay_milliseconds_before_open_device": 1000
            },
            "selected": true,
            "simple_modifications": [],
            "virtual_hid_keyboard": {
                "country_code": 0,
                "indicate_sticky_modifier_keys_state": true,
                "mouse_key_xy_scale": 100
            }
        }
    ]
}

It seems to be everything. Seven troubles - one reset, in case of glitches during installation

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question