13

The Insert is located right next to Backspace. So when I am using Leafpad, Gedit, etc., I hit Insert by accident often, which causes the cursor to turn into a bold box which over-writes text as I type.

How do I disable it?

terdon
  • 242,166

1 Answers1

20

First, find the keysym which corresponds to Insert

$ xmodmap -pke | grep -i insert

This is probably key 118. To disable it globally run

$ xmodmap -e "keycode 118 ="

which causes that key to map to nothing at all.

Running this command every time your Xserver starts is very dependent upon which distribution and session manager you are using.

msw
  • 10,593