SOLVED: How to Disable Ctrl-Q in Firefox
As a hardcore Firefox user with no less than 30-50 tabs loaded in the browser at any given time, it always annoyed me that they put the shortcut for closing a tab (Ctrl-W), right next to the shortcut for closing the entire browser itself (Ctrl-Q). I have 38 extensions loaded into Firefox right now as I type this blog post, and next to my keyboard itself, Firefox gets the most use.
When I’m working in the dark, or not looking at the keyboard and I fat-finger the ^W key-combo, I frequently hit ^Q by mistake, closing the browser and all of the tabs with it. ARG! Not fun.
I finally got tired of having to restart the browser all the time when I close it by accident, and decided to look for a fix. Luckily I found it in an extension called “keyconfig” that does exactly what I need!
“keyconfig adds the ability to create new or modify existing shortcuts defined by a
element, but only changing those which itself call a function (those with a command or oncommand attribute) has an effect (all others fulfill only cosmetic purposes it seems and are grayed out).”
Once I installed keyconfig and restarted Shiretoko, I was able to go into the prefs for it as shown here:

Scroll down to find the “Quit” menu accelerator in the list. Highlight it and click “Disable”

Closed out of the prefs, and went to File, and voila! No more Ctrl-Q next to the Quit option!

For those who might be wondering about my 38 Add-ons in Firefox, they currently are:
- AdBlock Plus version 1.1.1
- Better GCal version 0.3
- Better Gmail 2 version 0.9.5
- BetterPrivacy version 1.45
- CacheViewer version 0.6
- ChatZilla version 0.9.85
- ColorfulTabs version 3.9.7
- Console2 0.5
- CustomizeGoogle version 0.76
- DOM Inspector version 2.0.3
- DownThemAll! 1.1.7
- DownloadHelper version 4.6.4
- Evernote Web Clipper version 3.0.0.57015
- FireGPG version 0.7.10
- Firebug version 1.4.5
- Firefox Showcase version 0.9.5.1
- Flashblock version 1.5.12a2
- FoxyProxy version 2.14
- Google PageRank Status version 1.0
- Googlepedia version 0.6.1
- Greasemonkey version 0.8.20090920.2
- Hyperwords version 5.6.1
- Linkification version 1.3.6
- Linky version 2.7.1
- Live HTTP Headers version 0.15
- NoScript version 1.9.9.14
- PageSpeed version 1.3.0.1
- Power Twitter version 1.37
- PrefBar version 4.2.0
- Read it Later version 0.9948
- Remember The Milk for Gmail version 1.0.4
- Resurrect Pages version 2.0.4
- Tab Mix Plus version 0.3.8.2pre.091012
- Tab Sidebar version 2.5
- TimeStamp Converter version 1.4.3
- Total Validator version 6.1
- VMware Remote Console Plug-in version 2.5.0.122581
- Web Developer version 1.1.8
- keyconfig version 20080929
Related Posts:
- SOLVED: Firefox high CPU load with plugin-container...
- SOLVED: Java Plugin in Firefox on 64-bit Windows Server 2003...
- Firefox Tricked Out (and firewalled ports)...
- SOLVED: Install ALL Internet Explorer Versions on ONE Machine...
- Faster than a speeding IMAP...
- SOLVED: Missing Microsoft Office 2007 Shortcut Icons...
- Feeding on Feeds for Productivity: Sage vs. Google Reader...
- SOLVED: Calendar Printing Assistant for Office 2010...
- Coding for HTML standards...
- FreeBSD Server: 1, Furry little mouse: 0...
Last Modified: Saturday, February 6th, 2010 @ 21:17
Incoming search terms for the article:
- firefox disable ctrl q (81)
- ctrl q (66)
- firefox disable ctrl-q (52)
- firefox ctrl q (29)
- disable ctrl q firefox (25)
- ctrl q firefox (23)
- firefox ctrl-q (14)
- disable ctrl-q firefox (11)
- disable ctrl q (10)
- firefox disable control q (10)
- ctrl-q (9)
- disable ctrl q in firefox (9)
- firefox disable quit (9)
- disable firefox ctrl q (8)
- disable ctrl w firefox (7)
- command q firefox (6)
- firefox disable quit shortcut (6)
- firefox disable shortcuts (6)
- firefox control q (5)
- disable firefox showcase (5)
- disable command q close browser (5)
- disable quit firefox (5)
- firefox disable control key (5)
- firefox disable crtl-q (4)
- disable ctrl-q (4)
- firefox prevent control q (4)
- firefox disable ctrl w (4)
- firefox disable ctrl s (4)
- firefox command q (4)
- disable command q firefox (4)