0

How can I change my keyboard layout to English with Caps Lock and change layout to Russian with Shift+Caps Lock?

An old version of Punto Switcher could do this on Windows.

1

For the general case of changing input sources via keyboard shortcuts, see this earlier question.

Another approach might be to use the app Ukelele to design a custom keyboard that does what you want, but it would be a lot of work.

If it would be enough to use Caps Lock to switch between English and Russian, you can do this by just checking a box at the bottom of System Preferences > Keyboard > Input Sources.

| improve this answer | |
0

I'm late but another option is to use Karabiner-Elements which is really flexible and well-documented. Add the following settings to a profile in karabiner.json following the reference.

{
    "manipulators": [
        {
            "description": "capslock -> toggle russian",
            "from": {
                "key_code": "caps_lock",
                "modifiers": {
                    "mandatory": [],
                    "optional": [
                        "any"
                    ]
                }
            },
            "to": [
                {
                    "select_input_source": {
                        "language": "ru"
                    }
                }
            ],
            "type": "basic"
        }
    ]
}
| improve this answer | |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .