From c50da54efb43c81d4f0befaaceec8c614222b3fb Mon Sep 17 00:00:00 2001 From: Tran Hau Date: Mon, 17 Feb 2020 23:22:25 +0700 Subject: [PATCH] disable laptop keyboard --- disable-laptop-keyboard.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 disable-laptop-keyboard.md diff --git a/disable-laptop-keyboard.md b/disable-laptop-keyboard.md new file mode 100644 index 0000000..8d77144 --- /dev/null +++ b/disable-laptop-keyboard.md @@ -0,0 +1,17 @@ +# Disable laptop keyboard + +Why? Because I want to place my mechanical keyboard over my laptop keyboard. + +Read [Xinput](https://wiki.archlinux.org/index.php/Xinput) carefully. + +Disable: + +```sh +xinput float "AT Translated Set 2 keyboard" +``` + +Enable: + +```sh +xinput reattach "AT Translated Set 2 keyboard" 3 +```