Wrong keyboard layout while authorization

George Torianik

New Member
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"

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


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 ...

... have you tried creating the .conf file as


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

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.


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

Staff online

Members online

Latest posts