如何在Mac OS X中禁用键盘快捷键 [英] How to disable keyboard shortcuts in mac os x

查看:257
本文介绍了如何在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

  1. 安装BetterTouchTool
  2. 单击BetterTouchTool菜单栏项目,然后选择首选项"
  3. 点击手势"
  4. 点击键盘"
  5. 点击全局"
  6. 点击添加新快捷方式"
  7. 点击键盘快捷键"
  8. 键入您要禁用的快捷方式(例如,command-w)
  9. 将触发器预定义操作"设置为无操作"(默认设置)

请注意,您还可以为特定应用程序设置键盘快捷键.

Note that you can also set a keyboard shortcut for a specific application.

仅对终端禁用Command-w

To disable command-w only for Terminal

  1. 安装BetterTouchTool
  2. 单击BetterTouchTool菜单栏项目,然后选择首选项"
  3. 点击手势"
  4. 点击键盘"
  5. 单击选择应用程序"窗格底部的加号
  6. 选择终端(在Applications/Utilities文件夹中)
  7. 点击添加新快捷方式"
  8. 点击键盘快捷键"
  9. 键入您要禁用的快捷方式(例如,command-w)
  10. 将触发器预定义操作"设置为无操作"(默认设置)
  1. Install BetterTouchTool
  2. Click on the BetterTouchTool menubar item and choose "Preferences"
  3. Click "Gestures"
  4. Click "Keyboard"
  5. Click the plus sign at the bottom of the "Select Application" pane
  6. Choose Terminal (in Applications/Utilities folder)
  7. Click "Add New Shortcut"
  8. Click "Keyboard Shortcut"
  9. Type the shortcut you want to disable (for example, command-w)
  10. Set Trigger Predefined Action to "No Action" (which is the default)

这篇关于如何在Mac OS X中禁用键盘快捷键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆