Ubuntu – How to use different input language for different active (application) windows


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?

Best Answer

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

Related Question