Can't change keyboard locale on logon screen with lxqt (Lubuntu 19.04, 19.10 and 20.04)

I installed [second] non-English locale. If I logout, on logon screen I can’t change keyboard layout. Keyboard layout indicator show only one layout (and it’s the locale with which was installed Lubuntu). And keyboard change layout shortcut (for example, alt+shift) doesn’t work.

For example, I boot into Lubuntu 20.04 LiveCD. Install Russian locale. Set ALT+SHIFT as keyboard change layout shortcut. Also run dpkg-reconfegure for packages locales, console-setup, keyboard-configuration in tty (install keyboard layout in GUI works ONLY for GUI [except locales variables]). Keyboard layouts works. And when I logout - I can use only English layout on logon screen.
изображение
изображение

Moreover: if I install Lubuntu 19/20 with, for example, Russian system locale (and set auto-logon), when I logout, initially locale icon show English “flag” (and popup contains only English flag), but when I enter the first character, I see, in reality, Russian layout is active (and entered character is Russian), and layout indicator changes (sic!) to Russian “flag” and now contains only Russian “flag”. And I unable to login to system, because I set English-character password (it’s hilarious!).
изображение
изображение
изображение

I think it’s critical for Lubuntu 20.04, because IT persists since Lubuntu 19.04 (since lxqt is used)

1 Like

I also am facing the similar problem in my system except a different locale.

1 Like

keyboard configuration in lxqt is saved in ~/.config/lxqt/session.conf

sddm service can be seen in the archive /lib/systemd/system/sddm.service

If you look at it you will see that the configuration is loaded from

EnvironmentFile=-/etc/default/locale

can you see here https://github.com/sddm/sddm/issues/703

2 Likes

@Noumeno, and how will it help me? My /etc/default locale contains only LANG=“ru-RU.UTF.8”. ~/.config/lxqt/session.conf - it’s per user settings, where are “global settings” stored in lxqt? Main question - why keyboard layout switching worked with lxde on logon screen and doesn’t work with lxqt?

1 Like

Lubuntu on isnstalling create only one layout (without english layout!! It’s unexceptable), so I think that “root” problem looks like LXQT “wants” to work only with one keyboard layout…

In this case, if I’m not mistaken, you should have the keyboard in English (sddm) and the keyboard options in Russian. (or English and Russian, changing with a key combination). If you have several users, each one has its own keyboard layout. that’s why it’s in the user’s home

the keyboard in english (sddm)

How??? Lubuntu 18 with LXDE also has ssdm, and Lubuntu 18 works with multiple locales like a charm. Why lxqt so stupid?
ssdm use /etc/default/locale, this file configure system locale, not keyboard layout.

lxde doesn’t use sddm.

Use your local in English and the keyboard configured in Russian, I just tried it and it works correctly. Maybe it’s easier in lxde. but it also had gnome language support.