Add alt-number in additon to control-number for tab switching:
altnumbertab-current.patch
How to patch Firefox w/o rebuilding:
<your_firefox_install_dir>/lib/chrome/cp browser.jar browser.jar.oldmkdir foocd foounzip ../browser.jarcd content/browser/patch -p0 < ~/altnumbertab-current.patch (or do the instructions below)cd ../../zip -vr * ../browser.jarcd ..rm -rf foo
The patch should apply, but if you have a different build of Firefox, it may not. In that case, it’s easy to make the changes; just find if (!event.ctrlKey) and change it to if (!(event.ctrlKey || event.altKey))
Note: On SUSE, <your_firefox_install_dir> is /opt/MozillaFirefox; on Red Hat (or other distros), it’s probably something entirely different, probably somewhere in /usr, like /usr/share/firefox...
The following patch, when applied, allows one to hit Control-Q for quitting Firefox: ctrlq_quit.patch
It should be applied wherever content/browser/browser.xul resides (like above, different places for Mozilla source vs. installed Firefox).