Caps to Shift Lock


3

Seria incrível se a tecla caps também mudasse os números para símbolos. Por exemplo, com as tampas ativadas, seria bom se pressionar "4" produzisse "$". Existe uma maneira fácil de fazer isso no mac?

Obrigado!

EDIT: Existe uma maneira de fazê-lo com este comando "setxkbmap"? Ou da linha de comando de alguma forma?


O Maestro do teclado deve conseguir fazer isso.
precisa

Respostas:


2

Karabiner app deve fazer isso.

Você pode alterar a tecla caps lock para outra tecla. ()

Mosquetão-Elementos

O Karabiner-Elements é um utilitário poderoso para personalização de teclado no macOS Sierra ou posterior.

Funciona com:

macOS Mojave (10.14)
macOS High Sierra (10.13)
macOS Sierra (10.12)

Ok, estou trabalhando na redação de uma modificação complexa para mosquetão. Vou postá-lo aqui se for bem-sucedido. Obrigado pela ajuda!
David

1

Descobri isso com mosquetão. Mudou todos os números para seus símbolos para maiúsculas. Provavelmente vou trocar os símbolos e os números em algum momento. Obrigado por buscar!

EDIT: Formatação

{
  "title": "Caps Lock To Shift Lock",
  "rules": [
     {
        "description": "Change caps lock to shift lock",
        "manipulators": [
            {
                "type": "basic",
                "from": {
                    "key_code": "caps_lock",
                    "modifiers": {
                        "optional": [
                            "any"
                        ]
                    }
                },
                "to": [
                    {
                        "set_variable": {
                            "name": "shift_lock",
                            "value": 1
                        }
                    },
                    {
                        "key_code": "caps_lock"
                    }
                ],
                "conditions": [
                    {
                        "type": "variable_if",
                        "name": "shift_lock",
                        "value": 0
                    }
                ]
            },
            {
                "type": "basic",
                "from": {
                    "key_code": "caps_lock",
                    "modifiers": {
                        "optional": [
                            "any"
                        ]
                    }
                },
                "to": [
                    {
                        "set_variable": {
                            "name": "shift_lock",
                            "value": 0
                        }
                    },
                    {
                        "key_code": "caps_lock"
                    }
                ],
                "conditions": [
                    {
                        "type": "variable_if",
                        "name": "shift_lock",
                        "value": 1
                    }
                ]
            },
            {
                "description": " => shift-1/!",
                "type": "basic",
                "from": {
                    "key_code": "1",
                    "modifiers": {
                         "optional": [
                            "any"
                         ]
                    }
                },
                "to": [
                    {
                        "key_code": "1",
                        "modifiers": [
                            "shift"
                        ]
                    }
                ],
                "conditions": [
                    {
                        "type": "variable_if",
                        "name": "shift_lock",
                        "value": 1
                    }
                ]
            },
            {
                "type": "basic",
                "from": {
                    "key_code": "2",
                    "modifiers": {
                        "optional": [
                            "any"
                         ]
                    }
                },
                "to": [
                    {
                        "key_code": "2",
                        "modifiers": [
                            "shift"
                        ]
                    }
                ],
                "conditions": [
                    {
                        "type": "variable_if",
                        "name": "shift_lock",
                        "value": 1
                    }
                ]
            },
            {
                "type": "basic",
                "from": {
                    "key_code": "3",
                    "modifiers": {
                        "optional": [
                            "any"
                         ]
                    }
                },
                "to": [
                    {
                        "key_code": "3",
                        "modifiers": [
                            "shift"
                        ]
                    }
                ],
                "conditions": [
                    {
                        "type": "variable_if",
                        "name": "shift_lock",
                        "value": 1
                    }
                ]
            },
            {
                "type": "basic",
                "from": {
                    "key_code": "4",
                    "modifiers": {
                        "optional": [
                            "any"
                         ]
                    }
                },
                "to": [
                    {
                        "key_code": "4",
                        "modifiers": [
                            "shift"
                        ]
                    }
                ],
                "conditions": [
                    {
                        "type": "variable_if",
                        "name": "shift_lock",
                        "value": 1
                    }
                ]
            },
            {
                "type": "basic",
                "from": {
                    "key_code": "5",
                    "modifiers": {
                        "optional": [
                            "any"
                         ]
                    }
                },
                "to": [
                    {
                        "key_code": "5",
                        "modifiers": [
                            "shift"
                        ]
                    }
                ],
                "conditions": [
                    {
                        "type": "variable_if",
                        "name": "shift_lock",
                        "value": 1
                    }
                ]
            },
            {
                "type": "basic",
                "from": {
                    "key_code": "6",
                    "modifiers": {
                        "optional": [
                            "any"
                         ]
                    }
                },
                "to": [
                    {
                        "key_code": "6",
                        "modifiers": [
                            "shift"
                        ]
                    }
                ],
                "conditions": [
                    {
                        "type": "variable_if",
                        "name": "shift_lock",
                        "value": 1
                    }
                ]
            },
            {
                "type": "basic",
                "from": {
                    "key_code": "7",
                    "modifiers": {
                        "optional": [
                            "any"
                         ]
                    }
                },
                "to": [
                    {
                        "key_code": "7",
                        "modifiers": [
                            "shift"
                        ]
                    }
                ],
                "conditions": [
                    {
                        "type": "variable_if",
                        "name": "shift_lock",
                        "value": 1
                    }
                ]
            },
            {
                "type": "basic",
                "from": {
                    "key_code": "8",
                    "modifiers": {
                        "optional": [
                            "any"
                         ]
                    }
                },
                "to": [
                    {
                        "key_code": "8",
                        "modifiers": [
                            "shift"
                        ]
                    }
                ],
                "conditions": [
                    {
                        "type": "variable_if",
                        "name": "shift_lock",
                        "value": 1
                    }
                ]
            },
            {
                "type": "basic",
                "from": {
                    "key_code": "9",
                    "modifiers": {
                        "optional": [
                            "any"
                         ]
                    }
                },
                "to": [
                    {
                        "key_code": "9",
                        "modifiers": [
                            "shift"
                        ]
                    }
                ],
                "conditions": [
                    {
                        "type": "variable_if",
                        "name": "shift_lock",
                        "value": 1
                    }
                ]
            },
            {
                "type": "basic",
                "from": {
                    "key_code": "0",
                    "modifiers": {
                        "optional": [
                            "any"
                         ]
                    }
                },
                "to": [
                    {
                        "key_code": "0",
                        "modifiers": [
                            "shift"
                        ]
                    }
                ],
                "conditions": [
                    {
                        "type": "variable_if",
                        "name": "shift_lock",
                        "value": 1
                    }
                ]
            }
        ]
     }
  ]
}
Ao utilizar nosso site, você reconhece que leu e compreendeu nossa Política de Cookies e nossa Política de Privacidade.
Licensed under cc by-sa 3.0 with attribution required.