I have tried to redefine the keyboard layout today in a new Manjaro installation on a MacBook Pro. It seems like literally every setting in the operation system stating "German MacBook Layout" was fully ignored. It took me several hours to just swap the y and the z. But by now, I have managed that nearly every key is correctly matched, except the crucial five ones:
ctrl, alt, cmd on the left side and
cmd, alt on the right side
As of the fact that these are not working, I cannot for example build the [at] sign, because that needs alt and L.
I am not one hundre percent sure how I really solved the problem with the other keys after trying heaps of articles and commands, but I guess, the most relevant thing was to change the content of the /usr/share/X11/xkb/symbols/de file where I changed several keys with help of somebody else.
(something like that: https://help.ubuntu.com/community/Howto%3A%20Custom%20keyboard%20layout%20definitions/ht)
So my question is:
Is it possible to match the five control keys in that file as well such that this applies for the entire operation system?
I just don't know what key numbers (like key ) they have and what to write in these lines.
What I want is the following:
both cmd keys (on left and the right side) should do what the ctrl key does at the moment (f.eks. cmd + c for copying).
Both alt keys (left and right) should do the same, enabling me to get the third character behind a key (like alt + L becoming [at])
and last, the ctrl button should do the rest, like stopping something in the terminal with ctrl + c. Cannot really describe it.
Is there somebody who had the same issues? How can I solve that?
Thanks in advance!