Author Topic: The keyboard layout for Russian-speaking users  (Read 7634 times)

cdrw

  • Newbie
  • *
  • Posts: 44
  • Karma: +0/-0
The keyboard layout for Russian-speaking users
« on: Sun Oct 08 10:27:32 2017 »
I want to see an annoying bug when installing the distro NuTyX Russian-speaking user.
When the installer is run, the user selects the country "Russia".
The installer then asks to add a user:



The user performs the request and enters a name and password are ALWAYS in LATIN characters.
The user then sets the GUI NuTyX commands:

get xorg
get mate mate-extra
get lxdm
...

Restart.
And lxdm does not let the user in DE MATE.
The password was specified in Latin characters, and the default keyboard included in the input mode of the Cyrillic alphabet and the way to switch the layout there.
Blame the file /etc/X11/xorg.xonf.d/20-keyboard.conf

Code: [Select]
Section "InputClass"
       Identifier "Generic Keyboard"
       MatchIsKeyboard     "yes"
       Option "XkbLayout"  "ru"
EndSection
It creates the script setup-nutyx, as it turned out. Here's a line:

Code: [Select]
1211 ru*) echo '  Option "XkbLayout" "ru"' >> ${XORGKB};;
To prevent such a situation did not arise, I suggest a little change the line:

Code: [Select]
ru*) echo '  Option "XkbLayout" "us,ru"' >> ${XORGKB};;
Turn on the Latin keyboard layout and the user can enter the correct password.
File 20-keyboard.conf it will be possible to configure as desired.

Thierry

  • Administrator
  • Hero Member
  • *****
  • Posts: 706
  • Karma: +13/-0
  • Gender: Male
    • NuTyX distribution
Re: The keyboard layout for Russian-speaking users
« Reply #1 on: Sun Oct 08 10:41:50 2017 »
That's a realy detail and complete bug report. I will commit your request ASAP