18

Is there a way to lock the keyboard in Lion? By "lock keyboard" I mean some way to make the computer ignore almost any keypresses, except some special "unlock" sequence. Maybe an OS X feature or utility? It's a laptop, so I can't just unplug the keyboard.

My desire stems from using my laptop to skype with my toddler's grandmother. The kid bangs randomly on the keyboard and interrupts the call. It's more fun if she can get up close to the screen, but then grandma disappears.

Any advice appreciated.

5 Answers 5

8

I hope this helps. Lockey, It looks to me like it is the very thing that you are looking for.

9

I use KeyboardCleanTool, which ignores all keyboard input. It was created so you can clean the keys without accidental key presses, but obviously would work for your situation too.

It's free!

To unlock, just use the mouse to click the unlock button.

4
  • 2
    I like free. But the kid bangs on the track pad too, so that would unlock it.
    – Leopd
    Commented Jun 4, 2012 at 14:58
  • Could you shield the trackpad, maybe with some MacGyver thing that has suction cups?
    – Reid
    Commented Jun 5, 2012 at 18:33
  • You would have to move the mouse to the unlock button and click on it, not just click on anything anywhere. If you're really worried that would happen, you could also hide/minimize the window, requiring someone to track to the dock icon, click, track to the unlock button, and click again. Not likely to happen by random banging on the trackpad.
    – iynque
    Commented Oct 12, 2015 at 17:56
  • Since Mavericks, you must allow the app to access your keyboard by going to System Preferences > Security & Privacy > Privacy > Accessibility. Under the text Allow the apps below to control your computer make sure you tick KeyboardCleanTool
    – Adriano
    Commented Nov 27, 2015 at 18:24
3

One free solution would be to use Ukelele to create a new keyboard layout. If you save the blank file that it starts with as "null keyboard" or something to that effect, all the letter keys will be blank. That means that Q and other such combinations will not do anything when that keyboard is selected. Save it to ~/Library/Keyboard Layouts. To switch to this keyboard, enable it using the Language and Text » Input Sources System Preference Pane (if you haven't assigned it a name in Ukelele, it will be called, very creatively, "new keyboard". Then select it via the keyboard menulet.

When you want to re-enable the keyboard, again go to the menulet and select your default keyboard.

1
  • Nice idea in theory, but with the Ukelele's blank keyboard, many keys still register, including the arrow keys, delete, enter, tab, and the function keys (e.g. dashboard, volume, media keys). Also, the trackpad is still active, and my toddler seems to like clicking in the dock.
    – Sparhawk
    Commented Nov 21, 2014 at 23:56
2

I use Lock Screen 2 and I love it. It costs money but well worth it and your child

-1

I've been using Keyboard cleaner for years. It's super simple and free:

  • As soon as the app starts, it "locks" your keyboard and displays a black screen with a reminder on how to quit the app
  • Command + Q (OSX quit keyboard shortcut) to exit the app

I use it whenever I need to clean my keyboard, and the black screen helps me clean my screen pretty well too.

1
  • 2
    if you read the original post you would see that "keyboard cleaner" would be completely useless in this application because he wants to use Skype whilst the keyboard is locked. keyboard cleaner blacks out the screen.
    – user72493
    Commented Mar 9, 2014 at 13:24

You must log in to answer this question.

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