Disable CTRL+Q in Firefox

Tired of accidentally closing Firefox with Ctrl+Q when all you wanted to do was close one tab with Ctrl+W?

I sure was.  Maybe I’m just an inaccurate typist.

I finally got around to disabling that key combination in FF3 a week or two ago.  It seems to be working, so I’ve decided to share a bit.

I used the “keyconfig 20080929” addon.  You can find it on this thread here: http://forums.mozillazine.org/viewtopic.php?t=72994.

This addon adds a “Keyconfig” menu item under the Tools menu. Scroll down about 8 items and find “Close Window”.  Remap it to something that you’re not likely to use by accident.  I used Ctrl+Shift+W (for some reason, I couldn’t enter Ctrl+Shift+Q).

Anyway, use at your own risk.

Tags: , , , ,

4 Responses to “Disable CTRL+Q in Firefox”

  1. Jamie Kitson Says:

    I was wondering why this wasn’t working for me, it’s “Quit []” that you need to remap, not “Close Window”. You can order the list by shortcut.

  2. leonard Says:

    Thanks. Firefox has probably have changed a bit over the years… though, personally, I’ve actually moved on to Chrome 90% of the time.

  3. Mike Van Pelt Says:

    Or, more simply with no add-ons:

    type “about:config” as the URL. You may get a “You break it, it’s not our fault” sort of warning; click on through that.

    Search for “quit”.

    Double-click on the browser.showQuitWarning line to set it to true.

    And that’s it!

  4. Not Mike Van Pelt Says Says:

    “Double-click on the browser.showQuitWarning line to set it to true.

    And that’s it!”

    This doesn’t work. Fireflop gleefully ignores the setting.

Leave a Reply