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.

How do I disable the Ctrl + Q shortcut in Firefox without using the keyconfig extension?

share|improve this question
add comment

4 Answers

up vote 5 down vote accepted

You can find instructions on how to modify key bindings without keyconfig at http://www.mozilla.org/unix/customizing.html#keys

share|improve this answer
add comment

Bear in mind that not all actions can be customized without an extension.

I use keyconfig to move into tabs prev/next by using ,/.

share|improve this answer
add comment

You should obtain a similar result, easier, enabling the secret config option (about:config).

  1. In Firefox's address bar, type about:config and accept the warning that it will give. Now it appears in front of you a long list of config options. Filter it typing in the filter bar (up top) the keyword quit. After the filter acts you will have only few lines. Click on browser.showQuitWarning and set it true by clicking on it.

  2. You can use this filter again with the keyword warnon and see if the options "warn when close tabs" and similar are set to true.

  3. In the Firefox's Options/Preferences (Edit/preferences...), go to the Tabs section, and check the option "Warn me when closing multiple tabs". This avoid you close a window with multiple tab.

You will not completely disable CTRL-Q but you will make at least harmless.

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.