-
-
Notifications
You must be signed in to change notification settings - Fork 828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reassign § key to ~ in version 12 #1365
Comments
I've just hit this myself. I'm not sure why it's happening, but on my ISO keyboard When I push
When I push
When Karabiner is not running, the keys output the correct symbols for an ISO (in my case UK) keyboard. As others have said, it's not possible to I was able to circumvent this by tricking the autodetect when using Karabiner Elements version: 12.0.0 My intuition about how Karabiner Elements works is that it presents the mapped keyboard to the OS as a device (which is why the Keyboard Type button appears when Karabiner is launched which normally only appears for external keyboards) and that somehow these keys have got muddled in that simulated device. Thanks. Karabiner is awesome! |
+1 with French keyboard |
+1, I thought it was maybe because I had previously plugged in a PC layout keyboard, and then gone back to a mac layout keyboard |
So, to sum it up. Since version 12:
Solution I've tested is: But after a while it has gone again. I found something else: read bellow. |
@e-gaulue didn't work for me. So I created config to put tilda to correct location: {
"title": "My rules",
"rules": [
{
"description": "Fix tilda location (from next from Shift to above Tab)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "grave_accent_and_tilde",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "non_us_backslash"
}
]
},
{
"type": "basic",
"from": {
"key_code": "non_us_backslash",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "grave_accent_and_tilde"
}
]
}
]
}
]
} |
After a while, my trick as failed. But, here is a new one that leaves you reset your keyboard type to your need, all the time (with or without button on OSX keyboard settings). First, I checked my keyboard type : Answer for me was :
You can have more than one: that's all the associations OS X has seen for your keyboard depending to its country code (the last digit So, as you can see my value for Country Code 0 is 43. In this case, the button to change keyboard type in OS X settings is hidden or has no effect when clicking on it. In my case, I need 41. So I've changed the value this way: As far as I understood, we have just modified the settings in the file, not in the computer memory. To make it works, we need to (don't ask me why) restart karabiner. Then you can click In this case, the assistant opens again and leaves you choose your keyboard type. If you don't restart Karabiner, it does not. Looks like Karabiner keeps a lock on this setting. BEWARE: Changing my keyboard type again from OS X settings got me back to 43 value, each time I did it. In this case, you just have to redo this trick again. To sum it up:
Regards, |
I believe I'm having the same issue. I tried every solution regarding macos tools proposed in this thread without success, and finally setting on a simple modification of the keys 0x64 and 0x35 for my keyboard connected in usb to my mac (ISO). My internal MBA always sends 0x35 when pressing the key left to right shift, whereas the connected USB starts sending 0x35 and then switches to 0x64 depending on deconnection/reconnection or reboots. Quiting karabiner has no effect on this behavior While looking at event viewer > variables:
|
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. |
I don't think it is fixed yet. |
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. |
Still not fixed, as far as I can see! |
This bug still happens for me on macOS 10.14.6 with Karabiner-Elements 12.9.0. |
Be very careful with the proposed fix above! On my system:
When using the command above, the remaining entries are overwritten:
This caused my Mac to get stuck in a login loop, where the system crashed to the login screen every time Karabiner-Elements auto-loaded at login. If anyone else hit this problem, restart while holding ⌘ R at boot to enter recovery mode. Delete (or rename) the
Then reboot. macOS will regenerate the missing file at login, after prompting with the Keyboard Setup Assistant:
|
@MTCoster I had exactly the same issue and a similar output to yours running the I've managed to fix this now, with Karabiner 14.2 (just ran an update today, but that alone didn't solve it). Running the
I observed that when quitting KE the keyboard starts working as expected, and based on the above output I assumed the country code I was looking for was '41', so in KE > Preferences > Virtual Keyboard I simply entered that value there (rather than updating underlying OS X preferences manually): After entering the value:
When running the
I don't know the mechanics of how the kbd prefs work so can't explain why, obviously some kind of mapping, but it works :D Hope that helps! |
@MTCoster Oh well, I tried the solution before seeing your reply. Luckily, now it "only" crashed my computer whenever I started typing on the keyboard, so when I realised it after a few crashes, I had time to turn Karabiner Elements off with my trackpad. I have also noticed that my browser got completely reset so now I need to log in back to all accounts - hopefully, no other apps were affected, the browser was not even in the foreground. Thanks for letting us know the fix to the fix though haha |
I ran into this issue, and had some notes for if anyone else comes across it. First, they keys in the plist, like 4369-4369-0 can be read in the System Information app by finding the keyboard under USB. I have the Matias Ergo Pro, which is "Product ID: 0x1111" "Vendor ID: 0x1111". 0x1111 converted from hex to decimal is 4369. Second, using defaults write, you want normally want to use Finally, in my case, changing the value to 41 for ISO on my keyboard caused WindowServer to crash every time I changed the value. I decided, instead, to delete just the single entry for my keyboard with the value 43. There is no For example:
After deleting the value, I rebooted and plugged in my keyboard, which caused the "Detect Keyboard Type" window to come up. Choosing ISO there caused the value to be correctly set to 41. |
Prior to version 12 I just chose ISO virtual keyboard and that's all I need to get "~" (which is next to left shift) on proper place - instead of "§" (which is below Esc). Since version 12 there is no such setting. I tried to change country code, selected ISO in Keyboard Setup Assistant, but still I need to use "~" key next to left shift to get my tilde.
And I don't have
System Preferences > Keyboard > Change Keyboard Type...
button.Is it possible to have same behavior in version 12 as in older version?
The text was updated successfully, but these errors were encountered: