mbc400
Posts: 3
Joined: Mon Dec 09, 2019 8:57 pm

Keyboard layout 2 language

Mon Dec 09, 2019 9:05 pm

Hello .. I have a problem not to save the keyboard layout settings in raspbian language .. I want to install two languages ​​for the control panel and after adjusting the settings and restarting the device back to the default mode .. I would like to help me and provide me with the correct commands through which I can save the keyboard settings (two languages)

renice123
Posts: 235
Joined: Tue Oct 15, 2019 3:56 pm

Re: Keyboard layout 2 language

Tue Dec 10, 2019 7:34 am

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

Plugin {
   type = xkb
   Config {
     Model = pc105
     LayoutsList = us, ru
     VariantsList =,
     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

mbc400
Posts: 3
Joined: Mon Dec 09, 2019 8:57 pm

Re: Keyboard layout 2 language

Tue Dec 10, 2019 2:29 pm

Thank you very much
I found more solutions here too

https://config9.com/raspberry-pi/multip ... languages/

Thank you, sir, for helping me

Return to “Troubleshooting”