Problem with keyboard after reinstall 'ubuntu-desktop'?

Before I couldn't login, it was showing:

failed to start session

After I reinstalled ubuntu-desktop, my keyboard settings is broken. Auto-switch layout keyboard don't work.

When I change the window, language switchs to default (i. e. eng). Now this 'feature' does not work and it is really necessary to me.

Keyboard setting: Allow different sources for each window -> Now window use the default source (I can't upload images).


Try the 'Langauage Support' and 'Apply Systemwide' your language.