How to set default keyboard layout for GDM 3.16?
I'd been having the same problem for a long time and encountered https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Desktop_Migration_and_Administration_Guide/customizing-login-screen.html which says to use localectl set-x11-keymap
for changing the system layout such that GDM will honor it. I checked localectl
on my system, and it did return us
as my keyboard layout.
In my case the following seems to have fixed it, even though the on screen keyboard still shows in us qwerty:
# localectl set-keymap dvorak
Obviously, substitute dvorak
for whatever layout you want.
Related videos on Youtube
Tom
Updated on September 18, 2022Comments
-
Tom over 1 year
I have two keyboard layout (Colemak and Qwerty). When I have logged into my Gnome session my keyboard layout is set to Colemak automatically. But for some reason I can't change the default GDM keyboard. So I either have to enter my password in Qwerty or change it every time GDM starts.
I'm using Arch Linux with Gnome 3.16.
Edit: I've tried to follow the instruction on the GDM article at the Arch Linux Wiki (https://wiki.archlinux.org/index.php/GDM#GDM_keyboard_layout). But I cannot find the
Login Screen
menu fromgnome-control-center
.Edit 2: I've tried launch
gnome-control-center
as root and change the keyboard, it doesn't works.