How can I recompile the source to force the option to allow changing languages and keyboard layouts at login?
Did you install the language packs from Language support ?
I seem to have mixed the keyboard layout with the language support!
There is a solution provided in a bug report: Comment #16:
There is now an optional language selector in the GTK greeter for desktops that require it. To enable it set show-language-selector=true in /etc/lightdm/lightdm-gtk-greeter.conf. Fixed in 0.9.8.
Execute this command:
gksu gedit /etc/lightdm/lightdm-gtk-greeter.conf
Find the line:
Change it to:
Save and exit. Logout / Login or reboot the machine to apply the effect.
You can explicitly turn on the language selector in the login screen according to this comment:
To enable it set