Since I upgraded to Xubuntu 14.04 I have had problems switching back and forth between my two keyboard layouts: Danish (default) and Hindi (variant). If I switch the layout to Hindi and then change application, the layout immediately switches back to Danish.
This is quite irritating when, for example, I am using the Hindi layout in LibreOffice and then have to check something in Firefox, want to change music in gmusicbrowser, or something similar. Every time I leave LibreOffice, for whatever reason, the layout switches back to Danish.
Is there a box I can tick so this does not happen? (I am using fcitx rather than Ibus, if that has any bearing on the issue.)
Thanks in advance for any suggestions.