Hello,
I want only use Karabiner elements to remplace the keypad , to the .
In karabiner elements the keypad period is :
Why, Why, WHY !? :)
I would like to see this issue solved too. Cannot seem to change the keypad comma to a period, while in Karabiner it was possible.
I use keyboard maestro and I have solved this problem but it's not free ...
I have the same problem. Changing Keyboard Type to ISO changes nothing. I've also tried all other symbols (which are all wrong, e.g. using semicolon outputs an 'm') without finding a dot.
If it helps I managed to make it work by adding this rule to the ~/.config/karabiner/karabiner.json config file
{
"description": "keypad , to .",
"manipulators": [
{
"from": {
"key_code": "keypad_period",
"modifiers": {
"optional": ["any"]
}
},
"to": [
{
"key_code": "keypad_period",
"modifiers": ["left_shift"]
}
],
"type": "basic"
}
]
},
Will this also work on a QWERTZ keyboard? And where in the karabiner.json file should I insert the code? In addition, when I tried to save the file (I used TextWrangler for editing) it automatically reverted back to the original state after reopening. Any help would be much appreciated!
@Nehon please can you tell us where exacly in ~/.config/karabiner/karabiner.json we should put your modification? Like rcsapo said every "non official" edits reverts back when karabiner is relaunced...
It is best to make a new .json file with just that code inside instead of adding it to karabiner.json.
Make a new .json file in ~/.config/karabiner/assets/complex_modifications/
with just your code inside. That should work. That's how I did it.
@jvdurme Thank you, I used atom to create the json file (although I had to change the extension after it was saved)... and I place it in the folder you said... but now I'm stuck: on karabiner complex modification nothing appear... Can you tell me each of the steps please?
_Edit_
I figured it out :)
Here's a little guide for those in need (and the json file ready made by myself):
1) Download this zip file, inside you'll find the json you need keypadcommatoperiod.json.zip
2) put the file in the folder @jvdurme suggested (you can find it by opening the terminal and paste this command: open ~/.config/karabiner/assets/complex_modifications/ )
3) drop the json file from inside the zip to that folder
4) Open Karabiner, select "complex modification" and "add rule"
5) In the new window you should see the rule "keypad_comma to period": simply enable it
Done :)
P.S.
If you don't trust downloading the zip file create your own json with this code (I added to the @Nehon solution the top 2 lines of code so karabiner recognize this as a complex rule)
{
"title": "keypad_comma to period",
"rules": [
{
"description": "keypad , to .",
"manipulators": [
{
"from": {
"key_code": "keypad_period",
"modifiers": {
"optional": ["any"]
}
},
"to": [
{
"key_code": "keypad_period",
"modifiers": ["left_shift"]
}
],
"type": "basic"
}
]
}
]
}
Tested and working on High Sierra 13.3 and Karabiner 11.6.0
_edit 2_
Tested and working on Mojave 14.1 and Karabiner 12.1.56 beta (latest version avaible)
Voila! Glad you got it working. :-)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Thanks for the code and instructions. To make this work on a German QWERTZ keyboard, replace "modifiers": ["left_shift"] by "modifiers": ["right_option"]
for us keyboards right shift + keypad period to comma
{
"description": "keypad . to ,",
"manipulators": [
{
"from": {
"key_code": "keypad_period",
"modifiers": {
"mandatory": [
"right_shift"
],
"optional": ["any"]
}
},
"to": [
{
"key_code": "comma",
"modifiers": ["keypad_period"]
}
],
"type": "basic"
}
]
}
Hi All,
I simply want to swap these keys and this does not seems to work with the script. Im not a real scripter but when I try to get this done the , on the keypad (shift+keypad-.) gives me a >
I want to swap the keypad-. with shift-keypad-. I used tho use double command for this but it does not work anymore on my MacOS.
Is anybody able to do this?