Comment by rbanffy
5 days ago
My only complaint is with the EN-international keyboard my company prefers - there is no way to reverse the tilde key position back to the same place next to 1 on the US keyboard. The OS knows what keyboard the laptop has and refuses to change it.
I've created my own keyboard layout plus do some key remapping on my mac. Are you sure this won't work for tilde?
The tilde key exists in the key map here: https://developer.apple.com/library/archive/technotes/tn2450...
You can see how I did mine here if you're interested: https://github.com/bruse/dotfiles/tree/main/macOS (I suspect com.local.KeyRemapping.plist is most interesting, but the key layout file is there too, with some comments on how it was generated).
Thank you. I'll check as soon as I can. I remember having asked that in the Ask Different Stack Exchange forum, but I couldn't even find my question.
I am using XKB layouts from Linux recompiled for Macs and loaded with Karabiner: I am sure something as simple as rearranging the tilde key is possible, but maybe management software from your company will prohibit it.
The approach from @zith works, but I haven’t found the key codes. I’ll try to cobble up a utility to make that less cruel.