DONE
scrolllock als capslock , capslock als shift
1. get key config data
je hebt de keycode en de key action nodig ,
beide kan je te weten komen met : xev
- scrolllock : keycode 78 (Scroll_Lock)
- capslock : keycode 66 (Caps_Lock)
- shift left : keycode 50 (Shift_L)
2. swap de keys using xmodmap
To change an action to another key, xmodmap needs :
- -e param
- the keycode of the NEW key being pressed
- the “action” of the OLD or existing key for that function.
xmodmap -e "keycode 78 = Caps_Lock" && xmodmap -e "keycode 66 = Shift_L"