Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I keep hitting it accidentally and it really annoys there any way to disable it's default behavior?

share|improve this question
What is the default behaviour, apart from toggling insert/overwrite mode in editors? – enzotib Jul 11 '11 at 16:37
That's the default behavior. I want it to do nothing. – Jorge Jul 11 '11 at 19:20
up vote 9 down vote accepted

Go to Keyboard Shortcuts in System settings, then press Add button and insert a Name of your choice, say "DisableIns", and true as a harmless command then press Apply button.

Now, in the Custom Shortcuts section you will find an entry

DisableIns | Disabled

Click on Disabled, then perform your custom shortcut Ins. Press close, you're done.

share|improve this answer

I'm not sure it is the "right" way, but in my tests I could disable the behaviour of Insert using the following command:

$ xmodmap -e "keycode 118 ="

If this works for you, you could put the assignment in a file ~/.Xmodmap, i.e.

keycode 118 =

which should be loaded automatically at login. See questions here and here for more information about local xmodmap configuration.

share|improve this answer

Type sudo nautilus in Terminal. Then go to /usr/share/X11/xkb/symbols and open pc. Then change this line:

key  <INS> {    [  Insert       ]   };


key  <INS> {    [  XF86Send     ]   };// Insert

Then run this:

sudo dpkg-reconfigure xkb-data

in Terminal and restart Ubuntu.

This will replace Insert with Send. You can replace it with any other appropriate key. To see a list of keys run this:

xmodmap -pke

Note: A mistake in editing pc. eg inserting an inappropriate character, may corrupt Ubuntu.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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