Skip to content

Instantly share code, notes, and snippets.

@kevin-miles
Created July 22, 2014 01:30
Show Gist options
  • Save kevin-miles/e8fb0e1a6b3a7c3c815b to your computer and use it in GitHub Desktop.
Save kevin-miles/e8fb0e1a6b3a7c3c815b to your computer and use it in GitHub Desktop.
Enable and Disable OSX Keyboard
To disable the Macbook keyboard, type (or copy and paste) the following into terminal:
sudo kextunload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext/
To re-enable it, type (or copy and paste) the following into terminal (if copying and pasting, don't forget to copy a linebreak to make the command work):
sudo kextload /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