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

This question already has an answer here:

I am using external usb keyboard. I want to disable laptop's internal keyboard using software.

I know that i can just remove the internal keyboards wire and disconnect it physically, but i wanted to disable it using software so that later I can enable it by just executing a command in terminal easily. I am talking about disabling the keyboard and NOT the keyboard layout.

I am having Hp-Compaq Presario A965 TU Laptop Intel Centrino Core 2 Duo(Freq. 2 GHz). I am using 64 bit Ubuntu Lucid Lynx.

share|improve this question

marked as duplicate by stephenmyall, Seth, psusi, Eric Carvalho, Alaa Ali Aug 30 '13 at 4:59

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 3 down vote accepted

You can disable the keyboard via boot options:

  1. Open /boot/grub/grub.cfg as sudo with your favourite text editor.
  2. Add i8042.nokbd, preferably to the end of the file, and save.

Source: Ubuntu Forums Thread

share|improve this answer

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