Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

marked as duplicate by Stephen Myall, Seth, psusi, Eric Carvalho, Alaa 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.

1 Answer

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
add comment

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