1

How do I allow keyboard layout selection menu in the login screen (Ubuntu 22.04)? Toggling this option on has been possible through settings, but I do not see this option in newer versions. How do I a allow it?

Aiq0
  • 121
  • Assuming you are on standard Ubuntu, "newer versions" use GDM as the login manager instead of LightDM. Can you please elaborate and let us know what it is you want to achieve. – Gunnar Hjalmarsson Feb 22 '23 at 15:06
  • @GunnarHjalmarsson what does that mean? I have a computer with different users and two keyboards with different layouts. I want users to be able to choose the keyboard layout that works for them. – Mantic Mouse Feb 22 '23 at 15:08
  • Ok. But is your concern the login screen itself (username/password) or the effective keyboard once logged in? As regards the latter, the keyboard layout set by the user at first login will stay as their layout once logged in. – Gunnar Hjalmarsson Feb 22 '23 at 15:12
  • @GunnarHjalmarsson no, the concern is during the login screen. If possible I would like a scroll down menu in the login screen to type the password in the preferred layout (similar to the top menu available after loggin in). See the linked question for picture examples. – Mantic Mouse Feb 22 '23 at 15:15

1 Answers1

1

I think you can achieve this by including the two layouts in question in the /etc/default/keyboard file. Example:

XKBLAYOUT="us,fr"
XKBVARIANT=","

That should result in a layout selector on the login screen, letting the users pick either the English (US) or the French layout.

Gunnar Hjalmarsson
  • 33,540
  • 3
  • 64
  • 94