Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

In windows when I click the address bar in Chrome or Firefox, or the search box in Firefox, all existing text is selected automatically and if I type something it is typed in a black text area.

But in Ubuntu, the text is not selected automatically, and I have to select all and then type.

Is there any option that fixes this problem?

share|improve this question
up vote 5 down vote accepted

On my system, when I press F6 the contents of the address bar in Firefox are selected, just as you wish. The same behaviour with Iron (a derivate of Google Chrome).

To select the text (if any) on the search bar on Firefox, then you can press F6 and then Tab.

About the "black text area" I don't know; maybe you mean "blank text area", meaning that once you start typing, the (selected) text is substituted?

In Opera, you press F2 to open a window where you can type a new URI.

For searches, I have configured several search keywords in Opera's integrated search, so I simply press F2 and type, for example, d recipe, to search for the word "recipe" on or doi 10.1126/science.1100199 to go to this paper.

share|improve this answer
yes. substituted. great answer. – user126106 Feb 11 '13 at 22:10

A changable setting in Firefox governs text selection in the address bar.

Type about:config in the Firefox address bar, search for browser.urlbar.clickSelectsAll and change its value to true by double clicking.

You may also want to use ctrl-l to autoselect text in the address bar, and ctrl-k to do the same in the search bar.

share|improve this answer


On the address bar write about:config and press enter.

Press the I'll be careful warning

enter image description here

On the search bar look for browser.urlbar.clickSelectsAll and change the value to true.

enter image description here

share|improve this answer

For Opera Ctrl + L works or F8. And also simple double click works in Opera.

share|improve this answer
thanks Sina‌‌‌. – user126106 Mar 14 '13 at 23:19

Triple-clicking works for me to select the entire contents of the address bar. But I like the F6 trick better now that I've heard about it.

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.