Softwaremacosopen-sourceutilities
Keypause turns off your Mac keyboard long enough to clean it
Destu Cikal’s tiny utility uses macOS event interception, with a recovery path for lost permissions. Apple’s hardware-cleaning advice still applies.

A keyboard wipe is an excellent way to send a chat message nobody can translate. Keypause gives the cloth a window in which the keys can do nothing, rather than making the person cleaning the keyboard work around every accidental shortcut.
Destu Cikal’s project README promises “Every key off,” including shortcuts, function keys and media keys. A menu bar action or Control-Option-Command-K starts the pause. Its small countdown window includes an Unlock button, so the mouse remains a way back in. The window doesn’t take focus away from the app you’re using, and the screen stays awake during the cleaning session.
Thirty seconds may be enough. The timer can run up to ten minutes for anyone who looks between the keycaps and discovers that the keyboard has apparently been keeping a second copy of lunch. A sleepy keycap character called Kip waits through a sky changing from night to dawn. His wake-up supplies the visual countdown without a conventional progress bar.
The keyboard-locking code explains why this needs more than a window sitting on top of your document. It installs a macOS event tap, intercepting key-down, key-up and modifier changes, plus system-defined events used by media controls. Dropping those events keeps them from continuing to the application. Pointer input is outside that list, which leaves the clickable escape route available.
Permissions get an actual trial run. The code checks whether it can create the event tap while letting keystrokes pass through, then removes the probe. Its comments explain that macOS can list an app as trusted while refusing the updated build. A checkbox saying yes and a keyboard still typing would be an especially unhelpful combination here.
The same code tries to reenable an event tap if macOS disables it. When that recovery fails, it tells the rest of the app that the lock was lost. That is a useful distinction for software whose entire interface amounts to assuring you that nothing will happen when you press something.
The README says the only network request is an update check against the project’s public GitHub releases, at most daily. Automatic checking can be switched off, and updates aren’t installed automatically. Distribution has its own catch: the app isn’t notarized because the developer has no paid Apple developer account. Homebrew and a downloadable disk image are the documented installation routes.
Apple’s cleaning instructions still call for shutting a Mac laptop down and disconnecting its power adapter before cleaning the exterior. External keyboards should be powered off or unplugged. A software key lock changes input handling; it gives the hardware no protection against moisture. The recommended soft, lint-free cloth remains rather more useful than treating the keyboard to a shower.
Small utilities get more useful when their failure states are as easy to understand as their buttons. Keypause exposes enough of its mechanism to ask a concrete next question: does the lock recover cleanly after a permission change on the exact Mac where the cloth is waiting?