Skip to content

Instantly share code, notes, and snippets.

@malakhovks
Forked from JohnMurray/unload-keyboard
Created April 4, 2013 08:45
Show Gist options
  • Select an option

  • Save malakhovks/5308826 to your computer and use it in GitHub Desktop.

Select an option

Save malakhovks/5308826 to your computer and use it in GitHub Desktop.
#!/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