deactivate laptop keyboard ubuntu 1

deactivate laptop keyboard ubuntu

xinput list 
// Locate AT Translated Set 2 keyboard
// Write down the id and the [slave keyboard(XXX)] numbers

// Disable
xinput float id

// Enable
xinput reattach id slave 

Here is what the above code is Doing:
1. xinput list: lists all the input devices
2. Locate AT Translated Set 2 keyboard: find the keyboard
3. Write down the id and the [slave keyboard(XXX)] numbers: write down the id and the slave keyboard number
4. xinput float id: disable the keyboard
5. xinput reattach id slave: enable the keyboard

Similar Posts