I would remap my keyboard as following:
xmodmap -e "keycode 77= w W {"
xmodmap -e "keycode 78= x X }"
xmodmap -e "keycode 24= a A @"
xmodmap -e "keycode 49= ` & 2"
xmodmap -e "keycode 65= space space _"
xmodmap -e "keycode 111= Up Up Down"
xmodmap -e "keycode 113= Left Left Right"
xmodmap -e "keycode 51= * \" \' "
xmodmap -e "keycode 113= Left Left Right"
xmodmap -e "keycode 113= Left Left Right"
But xmodmap returns me:
xmodmap: commandline:1: bad keysym name 'XF86XK_{' in keysym list
I have seen on the web I should firstly remove the key but I m wondering if that could create some bug, so before trying a move I would ask the community some advice,
thanks
Regarding the error you mentioned, use as
xmodmap -e "keycode 77 = w W braceleft"
get the keysym from xev command.
If I understood correctly, your keycode 77 is Num_Lock
so, you want to make your Num_Lock key as
w
W
andbraceleft
to achieve this..
xmodmap -e "remove Mod2 = Num_Lock"
this will remove the Modifier Num_Lock from the Num_Lock Key..Note: Assign Num_Lock keysym to anyother keycode other wise you will loose Num_Lock. (this is not covered at this stage)
xmodmap -e "keycode 77 = NoSymbol NoSymbol w W braceleft"
you dont need to worry about removing the Modifier as above two changes will not persist after a logout or reboot.
Example for Swapping of Num_Lock and braceleft keysymbols