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.

  • @pam-lx Would you share output of xev and evtest for both keys? You may upload output to paste.ubuntu.com and share link here.
    – user.dz
    Commented Sep 29, 2021 at 11:14

1 Answer 1


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
    Commented Nov 1, 2018 at 19:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .