Ubuntu – How to change the login manager’s keyboard layout

13.04keyboard-layoutlightdm

I have a netbook with an AZERTY layout. I've changed it to "bépo" to try it, but now I've reset it to a french layout.

While all the apps have taken the change into account, Ubuntu's login manager still uses bépo, making entering passwords a challenge. I've enabled the virtual keyboard for the time being so that I could login again.

I don't remember what I had done in the first place to switch the login screen to bépo, but now I can't switch it back.

enter image description here

EDIT : In the keyboard settings page, if I click "use system defaults", then everything is in bépo ! Where is this different keyboard layout set ?

ANOTHER EDIT : Here's what did not work :

  1. Changing the layout in settings
  2. using the "use system defaults" checkbox in settings
  3. sudo dpkg-reconfigure keyboard-configuration
  4. changing it in Xconf
  5. adding a line in /etc/lightdm/lightdm.conf
  6. sudo dpkg-reconfigure locales
  7. slaming head against desk
  8. dpkg-reconfigure lightdm
  9. sudo gsettings set org.gnome.libgnomekbd.keyboard layouts "['fr']"
  10. combinations of the above

enter image description here

Is it possible to relaunch the keyboard configuration tool that's in ubuntu's setup ? The thing has automatic layout detection and it changes the setting everywhere.

Best Answer

What did seem to work for me was this suggestion: change /etc/default/keyboard.

Banging head on desk indeed, this is ridiculous.

Related Question