This is an old Debian window manager issue
The decision is not complicated.
First, set the language settings in the panel, add a button to switch languages.
But do not close these settings! Just leave the language preferences panel to work in the window.
Then click on any empty place in the top panel
Call up the “Panel settings” window
Change any value in the “Panel settings” settings. Then apply the changes.
And only after that close the language settings window. After restarting the computer, the settings should be saved.
In fact, this procedure does nothing, it’s just that Debian has a poorly written keyboard indicator program, and since it has not yet been fixed, you have to resort to such a strange method
But you can do a much more correct procedure, however, it requires certain skills and understanding of the window manager: you can simply enter the desired values into the settings file.
Go to the directory and open the file /home/pi/.config/lxpanel/LXDE-pi/panels
Look at the next entry. I have two languages installed, so I bring my settings
Code: Select all
# lxpanel <profile> config file. Manually editing is not recommended.
# Use preference dialog in lxpanel to adjust config when you can.
# Lowest record
type = xkb
Model = pc105
LayoutsList = us, ru
ToggleOpt = grp: alt_shift_toggle
KeepSysLayouts = 0
DisplayType = 1
Instead of "ru
" you can set any language. I have "ru" because I write in Russian