Accidently I mapped Enter via xkbset
to Pointer_button2
.
Now every time I hit Enter some gibberish text appears.
I thought of a workaround involving remapping it back, but that means I will have to run a command xmodmap -e "keycode 135 = Pointer_Button2"
(or any other keycode but that of Enter). But I'm not able to run this command in terminal, without hitting Enter.
How do I do so?
I'm running Ubuntu 12.04.