Last active
May 9, 2017 20:21
-
-
Save aerth/dbecac1408f809e38cf1af6e10d3e6e7 to your computer and use it in GitHub Desktop.
Disable Laptop Keyboard && Use USB Keyboard Instead ( good for broken laptop keys )
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## /etc/X11/xorg.conf.d/10-evdev.conf | |
## Disable laptop's built-in keyboard (in X session) | |
## Does not disable on the kernel level | |
## Does not disable while ctrl+alt+f1 etc | |
## Useful for placing a USB keyboard on top of laptop's (broken) keyboard as to not accidentally input keys. | |
## <aerth@riseup.net> | |
## | |
## You may have to create the xorg.conf.d directory. | |
## Something like: | |
## mkdir-p /etc/X11/xorg.conf.d | |
## Here is the contents of /etc/X11/xorg.conf.d/10-evdev.conf | |
Section "InputClass" | |
Identifier "Built-In Keyboard" | |
MatchIsKeyboard "on" | |
MatchProduct "AT Translated Set 2 keyboard" | |
Option "Ignore" "true" | |
EndSection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment