1. How do I globally map Caps Lock to AltGr?
I don't need CapsLock and rather would like to have an easy access AltGr Key there
2. I want to map all movement keys to
- AltGr+F = Backspace
- AltGr+H = LeftArr
- AltGr+J = DownArr
- AltGr+L = RightArr
- AltGr+K = UpArr
- AltGr+U = PgUp
- AltGr+D = PgDown
- AltGr+S = Enter
- AltGr+3 = Pos1
- AltGr+$ = End
- AltGr+X = Del
So I can easily walk through my code without moving the hand away from the 10-Finger-Position (like in
I found this answer: How do I remap the caps lock key to the backspace key?
xmodmap -e "keycode [code] = [new key]"
But I cannot figure out, how to add this to a combination of for example AltGr+J
Another start would be to set the "Alternative Character Key" in
I found some solutions (see below) but all of them don't work in all applications, I guess it is a global setting called "XFree 4" that is used by some apps.
1. How do I set the key bindings for XFree 4 also?
2. How do I make the changes upgrade-save?