我的猫有一个讨厌的习惯,它跳过我的 MBP 并导致击键搞砸(从停止播放视频到删除文件)。
我正在寻找一些实用程序或黑客来完全禁用内部键盘并使用鼠标或使用某些组合键重新启用它。
任何想法如何实现这一目标?
Jef*_*ett 15
Karabiner-Elements是一款开源软件,具有强大的键盘自定义功能,包括在连接外部键盘时禁用内部键盘的功能。
我有一个带有可怕键盘的 2018 MBP,它现在已经开始以很多美妙的方式失败。我有一个便宜的蓝牙键盘,我只是设置在内部键盘的正上方,使用 Karabiner-Elements 可以禁用它,这样来自上方键盘的压力就不会触发不需要的击键。
https://github.com/pqrs-org/Karabiner-Elements
pti*_*tim 11
刚刚在我的 2013 MBP 上用 10.8.5 试过这个:
外部键盘仍然工作正常,我能够禁用,然后重新启用我的内部键盘。
要禁用便携式 Mac 的内置键盘:
sudo kextunload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext/
The internal keyboard is then disabled, external keyboards will still work.
要重新启用便携式 Mac 的内置键盘:
sudo kextload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext/
当我最初禁用内部键盘时,终端通知我:
(kernel) Can't unload kext com.apple.driver.AppleUSBTCKeyboard; classes have instances:
(kernel) Kext com.apple.driver.AppleUSBTCKeyboard class AppleUSBTCKeyboard has 11 instances.
Failed to unload com.apple.driver.AppleUSBTCKeyboard - (libkern/kext) kext is in use or retained (cannot unload).
Run Code Online (Sandbox Code Playgroud)
尽管如此,该命令有效,没有不良影响。
感谢:macrumours
归档时间: |
|
查看次数: |
78127 次 |
最近记录: |