Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I was used to press Control+1, Control+2 and so on to switch between tabs in Firefox. Now, in Unity, I have to use the Alt key instead. How can I change that?


share|improve this question

4 Answers 4

up vote 6 down vote accepted

There is a nice add-on you can try called KeyConfig available from here. Unfortunately the author hasn't added this to the official Mozilla Addons.

If you still want to try this "untrusted" add-on, click on the keyconfig.xpi and install it. Then go to your firefox addons to display various keybindings offered by the addon

enter image description here

Click on the box shown by the arrow and choose your key combination - CTRL + 1.

This will change the value in the box to CTRL+1. Click the Apply button

Repeat for the rest of the "key_selectTab" values.

share|improve this answer
Thank you very much. It works great! – Chuqui Jun 19 '11 at 0:13

Going off of @Aron's answer, simply perform the following steps:

  1. Go to about:config in the URL bar
  2. Search for accelKey
  3. Change the value to 17 for CTRL or 18 for ALT
  4. Restart Firefox
share|improve this answer

It's easy to change manually:

You can also search for addons that may do it more easy, but changing the accelKey number in about:config is not that hard.

share|improve this answer
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Eric Carvalho Oct 16 '13 at 14:57
link only answer, but props for going to the source and actually showing why this difference exists, not just other clumsy ways around it. i feel enlightened - after being irritated for months by the lack of ctrl-#, then finding alt-# but not seeing any reason for the difference until now. thanks! – underscore_d Nov 8 at 23:59

I've added support for this to my Windows Shortcuts extension (version 0.2).

It's a trival extension with no options.

It sets these shortcuts:

  • Ctrl+J = Downloads
  • Ctrl+E = Search
  • Ctrl+number = Switch to tab number (e.g. Ctrl+1 = switch to first tab)
share|improve this answer
Hey @Mikel, I was actually looking to do the exact opposite of what your extension does (use ALT+# to change tabs on Windows). I replaced the "accel" key with "alt" key in your extension and installed it locally. Please let me know if you would like me to send it to you so that you can release it as a separate addon, or if you would like me to do so. Thank you. – Mo2 Apr 14 at 16:59

Your Answer


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.