Re: Remap Alt_r to Super_R for Cyrillic layout - keycode 108 (keysym 0x0 nosymbol)
Reply #2 –
It is extremely simple and easy.
.Xmodmap
clear lock
keycode 66 = Mode_switch NoSymbol Mode_switch
add lock = Mode_switch
keycode 10 = 1 2 3 4 5 6
How to use:
1=1
Shift+1=2
AltGr+1=5
AltGr+Shift+1=6
CapsLock+1=3
CapsLock+Shift+1=4
Your task is to replace position 3 and 4 in the Xmodmap file with characters of your choice on the corresponding keys.
When you are done, you have your own keyboard layout with layout switch (CapsLock).