Skip to content

Instantly share code, notes, and snippets.

@raybesiga
Forked from JohnMurray/unload-keyboard
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raybesiga/b991b20e1efeea99d964 to your computer and use it in GitHub Desktop.
Save raybesiga/b991b20e1efeea99d964 to your computer and use it in GitHub Desktop.
Disable Mac OS X Keyboard (built-in only)
#!/bin/bash
# Unload the keyboard so I can use my external keyboard
# and not worry about accidentally pressing buttons on
# the built-in. This may not be a problem for you but, you
# should see my desk sometimes (Oh no!!) ;-)
sudo kextunload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment