0

the ESC key on my computer is bad and causes the computer to misbehave. i tried disabling by using

xmodmap -e 'keycode 9='

But resulted in errors

xmodmap: commandline:1: bad keycode input line
xmodmap: 1 error encountered, aborting.

please help.

  • You could use dconf-editor - have you tried that? Link for reference, it shows how to swap esc key with caps lock, but it should still be viable in the question to what you are trying to accomplish: Ask Ubuntu – user725131 Jul 15 '17 at 11:54
0

This eventually worked for me. instead of giving a blank assignment i gave it NoSymbol

xmodmap -e 'keycode 9=NoSymbol'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.