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.


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

xmodmap -e "keycode 117=NoSymbol"
| improve this answer | |
  • 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 '18 at 19:37

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.