My cat keeps walking over my keyboard.

Is it possible to lock the keyboard with a keyboard short cut but leave the screen running and all apps visible?

  • The accepted solution on that question does lock the screen (sleep, screensaver). That is not what I want. I edited the question to clarify that. – Jessica Sep 17 '17 at 19:10
  • 1
    Aah - kind of like unplugging the keyboard entirely. Or forcing you to answer a captcha or math question to start typing again. – bmike Sep 17 '17 at 19:59
  • Yeah like unplugging it. Reactivating via mouse input would suffice. – Jessica Sep 17 '17 at 23:29

You can use KeyboardCleanTool (made by the developer of BetterTouchTool).

It opens the application window with a button you have to press in order to lock/unlock the keyboard.

Download it from BetterTouchTool.net

Screenshot of KeyboardCleanTool on macOS 10.12

  • Can this be moved out of the way enough or be in the background while watching a movie in full screen? I would try it myself but I am currently on the latest beta. – Jessica Jun 12 '19 at 9:49

There's no way to turn off a keyboard via shortcut because you would have no way to turn it back on. The best method to achieve what you are looking for is to disconnect the keyboard.

Wired/USB Keyboards

To do that, you should use a USB with a "disconnect" or a "power switch" to turn it on/off like the Sabrent 4 Port Switch. I recommended this for a different question in which the user needed to "reset" the USB bus to redetect their device; this will work perfectly for you.

enter image description here

When you want to "lock" your keyboard, just turn off the port. Turning it back on will automatically reconnect it.

What about wireless?

Turn it off. When you turn it back on, it will automatically reconnect.

  • Unfortunately it's a laptop :D – Jessica Jun 12 '19 at 9:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .