Jump to content
Ramshank

Lock keyboard so I can clean it.

Recommended Posts

Not sure if an extension already exists for Alfred to do this, if it does please let me know.

 

I'd love to be able to type "Clean" and be able to clean my keyboard without confusing my mac.

 

Suggestions welcome.

Share this post


Link to post
Share on other sites

That's an excellent idea! Except I'm on a laptop.  I know theres a menu bar app I can get... but I'm sure it's within Alfred's power without having to install a 3rd party app.

Share this post


Link to post
Share on other sites

There's a command line which disables the keyboard for the laptops:


sudo kextunload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext

 

And enables it again:

 

sudo kextload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext

 

However it requires the input of the admin password... making this a new feature or a workflow is beyond my skills.  Any thoughts?

 

The other option is to open a blank textedit file that swallows the typed gibberish...not beyond my skills.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...