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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If "" is already open a tab, it it possible to have a browser switch to that tab if I try opening "" in a different tab?

What if I try opening the new address via cli (eg, google-chrome Can I get it to switch to already open tab?

Do any of the major browsers (Firefox, Chrome, Chromium, etc) have this feature?

share|improve this question
This is not exactly ubuntu specific, it would be better to ask thsi on – RolandiXor Apr 16 '11 at 2:55
up vote 12 down vote accepted

This is a feature of Firefox 4. If you start typing an already opened address, the drop-down menu will suggest switching to the already active tab pointing to that address.

There is an add-on for Firefox that will give you total keyboard control over the browser called "Pentadactyl" (here). While not required, you'll probably enjoy it more if you already know vi keybindings.

So in fact, there is a way to change tabs with a "terminal" (ok, not really a terminal). But Pentadactyl supports the following commands:


and several others.

share|improve this answer
Neat! Do you know if there is any way to switch to a tab by executing a command from a terminal? – sutre Apr 16 '11 at 2:14
@sutre no there is not. FireFox 4 is not controlled from the terminal. – Thomas W. Jul 12 '11 at 12:54
Sadly, firefox is one of these weird browsers you control with a mouse, and not from terminal. – Rafał Cieślak Jul 12 '11 at 16:25

This can be done in Google Chrome by entering about:flags in the omnibox and scrolling to the very last item, "Focus existing tab on open". Click "Enable" and restart Chrome.

Note: this feature is not documented for a reason. On the about:flags page it states:

"These experimental features may change, break, or disappear at any time. We make absolutely no guarantees about what may happen if you turn one of these experiments on, and your browser may even spontaneously combust."

In other words, you modify these settings at your own risk.

share|improve this answer

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.