the line: xmodmap -e "keysym Mode_switch = Mode_switch Pointer_EnableKeys" shound instead be: xmodmap -e "keysym Mode_switch = Pointer_EnableKeys"
the line: xmodmap -e "keysym Mode_switch = Mode_switch Pointer_EnableKeys" shound instead be: xmodmap -e "keysym Mode_switch = Pointer_EnableKeys"