I suggest to configure your keyboard as a user and not system-wide. Either with the graphical tool of your favorite desktop or directly via setxkbmap in your ~/.xinitrc.