KDE Keyboard remap keys
i want to assign left control to left alt and left alt to left win key. I struggled with KDE Keyboard settings-> advanced -> "alt/win key behavior"-> "control is mapped to alt keys, alt is mapped to win keys" but there is only a complete remap for left and right and it does not work properly (cant produce special signs like € etc, keyboard shortcuts do not work ) :( .
Look into the xmodmap and xev commands. xmodmap will do the actual changes but xev will give you the key codes for that specific key.