In the past few days whenever I type rapidly a ~ symbol continuously pops up in the terminal window. To resolve the issue I tried running

xev -event keyboard

This told me that the problem is the NEXT KEY with key code 117, so I disabled it using this command:

xmodmap -e 'keycode 117='

Now the symbol ~ is not coming but still, its action which scrolls down the current page is still active.

up vote 1 down vote accepted

keycode 117 is pagedown key. Check if it's pressed. or try

xmodmap -e "keycode 117=NoSymbol"
  • This doesn't stop page-down from working in chrome and many other applications, so I finally had to physically remove the key from the keyboard. – user260214 Nov 1 at 19:37

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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