Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Have you observed that google-chrome has approximately 29 shortcuts. ( ctrl-A...Z ) I really hate these things. Anyway, my questions:

  • How can I disable some of the shortcuts ?
  • Are there any files where all settings are stored? If there are, where are those files in Ubuntu 12.04?
share|improve this question
    
Do you usually hit them by accident ? –  josinalvo Jul 28 '12 at 14:45
add comment

2 Answers

up vote 6 down vote accepted

Apparently in chrome , google has not addressed the Disabling Keyboard Shortcuts Feature yet .

Such applications specific shortcuts are stored by the application, i guess such Shortcut config File doesn't exist in Ubuntu.

There are extensions like Hotkey and shortcut manager which provides User Defined shortcuts though.

Even HUD seems to have limited features in Chrome.

Through shortcut manager , you can disable all the Ctrl shortcuts individually as here.

enter image description here

For further reference visit

Change/Disable Chrome Keyboard shortcuts

Disable shortcuts in Google Chrome

share|improve this answer
add comment

This is an awful kludge:

Websites' Javascript can intercept most browser shortcuts. This is normally used to implement keyboard shortcuts in web apps (so e.g. Ctrl-S saves the document open in a web app instead of opening the browser's save page dialog). However, if you handle the event by ignoring it, it effectively disables the browser's shortcut.

To do this, create a script that traps all browser shortcuts and discards them. Save it as a Greasemonkey user script (name it something.user.js) and set it to execute on all pages. You can use Chromium's built-in Greasemonkey support, or use any of various extensions if you prefer a different interface. The end result is that whenever you're on any web page (i.e. always), the script will have executed, causing most browser shortcuts to be trapped and discarded before the browser processes them.

Of course, you can write your script to not trap a particular shortcut that you actually use.

Note that there are a few shortcuts (generally related to navigating between tabs) that by design web pages are not allowed to trap. Those will therefore not be disabled.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.