• Rob's side project: I recently started Gun-Forums.com and we currently have a $100 raffle - if you're into guns, join up and enter the raffle to win $100.00. Gun Forums

Wrong keyboard layout while authorization

George Torianik

New Member
Hello
I installed debian 9 + xfce on my laptop (HP probook 440)
then I tried to add language using a quide(https://wiki.archlinux.org/index.php/Keyboard_configuration_in_Xorg).
So i created /etc/X11/xorg.conf.d/00-keyboard.conf and wrote there such text:

Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us,ru"
Option "XkbModel" "pc105"
Option "XkbVariant" "dvorak,"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection


and restarted Xserver. Then when I tried to login, russian language was working fine but english
layout wasn't. To type 'p' I need to sign 'r', 'y' -- 't', 'f' -- 'y'...
But when i entered to the system and changed language using GUI all started working fine, but problem with login did not vanished
 


wizardfromoz

Super Moderator
Staff member
Gold Supporter
(Wizard appears in a puff of smoke, trips over sign in Cyrillic reading "Watch Your Step", curses)

Hi George and welcome to linux.org :)

Rather than ...

/etc/X11/xorg.conf.d/00-keyboard.conf
... have you tried creating the .conf file as

Code:
/usr/share/X11/xorg.conf.d/00-keyboard.conf
?

If I am not mistaken, under Debian, you will have had to create the .../xorg.conf.d/... subfolder, is that so?

You would first need to remove the material you have created, using for example

Code:
sudo rm -R /etc/X11/xorg.conf.d
This would remove both the subfolder xorg.conf.d and its content/s, being the keyboard conf file.

Let us know how you go.

Cheers

Chris Turner
wizardfromoz ... that's DownUnder :D
 



Top