如何在Mac OS X中禁用键盘快捷键 [英] How to disable keyboard shortcuts in mac os x
问题描述
我想在山狮Mac OS X 10.8中禁用键盘快捷键command-w和command-q.这是因为它们会干扰我从xQuartz运行的终端内部运行的emacs命令.所有帮助将不胜感激.
I would like to disable keyboard shortcuts command-w and command-q in mac os x 10.8, mountain lion. This is because they interfere with emacs commands which I run from inside a terminal running from xQuartz. All help will be appreciated.
推荐答案
BetterTouchTool不再免费.
我到达此页面是因为我想禁用command-h(隐藏应用程序),这在系统偏好设置"中未显示.这是我的解决方法.
I reached this page because I wanted to disable command-h (hide application) which is not shown in System Preferences. This is my solution.
BetterTouchTool是一个实用程序,可以禁用键盘快捷键(并具有许多其他用途). http://www.boastr.de/
BetterTouchTool is a utility which can disable keyboard shortcuts (and has many other uses). http://www.boastr.de/
要全局禁用Command-w
To disable command-w globally
- 安装BetterTouchTool
- 单击BetterTouchTool菜单栏项目,然后选择首选项"
- 点击手势"
- 点击键盘"
- 点击全局"
- 点击添加新快捷方式"
- 点击键盘快捷键"
- 键入您要禁用的快捷方式(例如,command-w)
- 将触发器预定义操作"设置为无操作"(默认设置)
请注意,您还可以为特定应用程序设置键盘快捷键.
Note that you can also set a keyboard shortcut for a specific application.
仅对终端禁用Command-w
To disable command-w only for Terminal
- 安装BetterTouchTool
- 单击BetterTouchTool菜单栏项目,然后选择首选项"
- 点击手势"
- 点击键盘"
- 单击选择应用程序"窗格底部的加号
- 选择终端(在Applications/Utilities文件夹中)
- 点击添加新快捷方式"
- 点击键盘快捷键"
- 键入您要禁用的快捷方式(例如,command-w)
- 将触发器预定义操作"设置为无操作"(默认设置)
- Install BetterTouchTool
- Click on the BetterTouchTool menubar item and choose "Preferences"
- Click "Gestures"
- Click "Keyboard"
- Click the plus sign at the bottom of the "Select Application" pane
- Choose Terminal (in Applications/Utilities folder)
- Click "Add New Shortcut"
- Click "Keyboard Shortcut"
- Type the shortcut you want to disable (for example, command-w)
- Set Trigger Predefined Action to "No Action" (which is the default)
这篇关于如何在Mac OS X中禁用键盘快捷键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!