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

I'm working under 12.04 and suppose I have a Firefox windows active (or in foreground) with English as input language and I need to type a document in other language using some text editor.

With the text editor in foreground (or active) and the input language set to a non-English one, when I bring Firefox in foreground (or making it active) the input language remains set to the non-English and the language flag does not switch to English (as it would be expected, since I do not alter the language during the whole Firefox session).

Because of this, I have to make extra moves and change the input language manually every time I switch from the text editor to Firefox and back to text editor. This was not happening with 10.04, and each application windows had the corresponding input language set to its default or previous session every time I was bringing it to the foreground!

How will I make 12.04 to behave the same way?

share|improve this question

I opened System Settings, Keyboard Layout and Layouts.

On the right pane of that tab, I chose Allow different layouts for individual windows and that worked.

Note: For Ubuntu 14.04 use System Settings, Text Entry

enter image description here

share|improve this answer
Good answer. I have edited it a bit. Hope you don't mind that. You can accept the answer after 48 hours of posting your question. – jokerdino Jun 5 '12 at 10:59
Thanx for commenting and editing! I really don't have time for such a geeky work (I mean, the whole "Keyboard Layout" window)! – anvo Jun 5 '12 at 12:14

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.