Can Karabiner's JSON configuration indicate that Shift+Alt should not be sent?

The use case is as follows:

  • On a French-keyboard MacBook, "]" is obtained with Shift+Alt+). I want to be able to type brackets through Microsoft Remote Desktop.
  • Now, when I start by typing Shift+Alt, Windows switches keyboard layouts. I want to keep this feature on the remote machine.

So I would like to:

  • Not send Shift+Alt to Microsoft Remote Desktop when I type these two keys…
  • … while at the same time having Karabiner produce "]" on the remote machine when I then press the third key ")".

My current configuration for having Shift+Alt+) produce "]" in Microsoft Remote Desktop (from a French-keyboard MacBook) is:

    "conditions": [
            "bundle_identifiers": [
            "type": "frontmost_application_if"
    "from": {
        "key_code": "hyphen",
        "modifiers": {
            "mandatory": [
    "to": [
            "key_code": "close_bracket"
    "type": "basic"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.