直接下载Direct download
OpenKeyboardCleanTool
锁住键盘,留着触控板,放心擦键盘。Lock the keys. Keep the trackpad. Clean your Mac.
清洁键盘时临时屏蔽所有按键(包括修饰键、功能键和媒体键),鼠标和触控板照常可用,擦完点一下「Finish Cleaning」就恢复。不联网,没有菜单栏图标、后台进程或登录项。Temporarily blocks every key, including modifier, function and media keys, while you clean your keyboard. Your mouse and trackpad keep working, and one click on Finish Cleaning brings the keyboard back. No networking, menu bar item, background process or login item.
下载 DMG(GitHub Releases)Download the DMG (GitHub Releases)- 平台Platform
- macOS
- 要求Requires
- macOS 13 或更高,Apple 芯片 Mac;需要授予「辅助功能」权限。macOS 13 or later on an Apple silicon Mac; Accessibility permission.
- 许可证License
- PolyForm Noncommercial 1.0.0
能做什么What it does
- 锁住每一个键Every key, locked
- 清洁期间屏蔽普通按键、修饰键、功能键,以及亮度、音量等媒体键,擦键盘时不会误触发任何操作。While cleaning, it blocks regular, modifier and function keys as well as brightness, volume and media keys, so wiping the keyboard triggers nothing.
- 鼠标和触控板照常用Mouse and trackpad stay active
- 只拦截键盘事件,指针、点击和滚动都不受影响,擦完用鼠标点「Finish Cleaning」即可恢复键盘。Only keyboard events are intercepted. Pointer, clicks and scrolling pass through, so you finish with a click on Finish Cleaning.
- 需要时才打开Runs only when you open it
- 没有菜单栏图标、登录项或后台进程。退出 App 键盘拦截随之解除,App 意外崩溃也一样。No menu bar item, login item or background helper. Quitting the app ends the keyboard block, and so does an unexpected crash.
- 两个小开关Two simple preferences
- 可选择打开 App 就立即锁键盘;也可选择清洁完成后自动退出,或者留着再擦一轮。Choose to lock the keyboard as soon as the app opens, and whether to quit automatically after cleaning or stay open for another round.
- 不联网,源码公开Offline, source available
- 代码里没有任何网络请求、统计或第三方依赖,全部源码在 GitHub 上可查、可自行构建。The code makes no network requests and has no analytics or third-party dependencies. All of it is on GitHub to read and build yourself.
常见问题Questions
为什么需要「辅助功能」权限?Why does it need Accessibility permission?
macOS 只允许获得该权限的 App 拦截键盘事件。OpenKeyboardCleanTool 只用它在清洁期间丢弃按键,不读取、不记录你按了什么。首次使用时在 系统设置 → 隐私与安全性 → 辅助功能 里打开它,回到 App 点「Check Again」。macOS only lets apps with this permission intercept keyboard events. OpenKeyboardCleanTool uses it solely to discard keystrokes while cleaning; it does not read or record what was pressed. On first use, enable it in System Settings → Privacy & Security → Accessibility, then return to the app and click Check Again.
键盘被锁住了,怎么解锁?The keyboard is locked. How do I unlock it?
用鼠标或触控板点窗口里的「Finish Cleaning」,或点右上角的关闭按钮退出 App。App 一退出,键盘就恢复。Click Finish Cleaning with your mouse or trackpad, or click the close button at the top right to quit. As soon as the app quits, the keyboard works again.
打开时会被 Gatekeeper 拦住吗?Will Gatekeeper block it?
不会。发布的 DMG 用 Developer ID 签名并经过 Apple 公证,拖进「应用程序」即可直接打开。No. The released DMG is signed with a Developer ID certificate and notarized by Apple, so it opens normally after you drag it to Applications.
支持 Intel Mac 吗?Does it run on Intel Macs?
发布版只支持 Apple 芯片 Mac。The released build supports Apple silicon Macs only.
怎么卸载?How do I uninstall it?
把 App 从「应用程序」拖到废纸篓,删除 ~/Library/Preferences/dev.openkeyboardcleantool.app.plist(两个开关的设置),再到 系统设置 → 隐私与安全性 → 辅助功能 里移除它。Drag the app from Applications to the Trash, delete ~/Library/Preferences/dev.openkeyboardcleantool.app.plist (the two preferences), and remove it from System Settings → Privacy & Security → Accessibility.
获取帮助Get help
发邮件到Email qinuobiao3@gmail.com,或在 , or open an issue on GitHub 提 issue。写上设备型号和系统版本,能更快定位问题。. Include your device model and OS version so the problem is easier to find.