How to set keyboard layout for gdm
Grégory Reinbold
gregory at nosheep.fr
Sat Mar 13 16:37:12 UTC 2021
Hi there
I just installed Gnome on FreeBSD 12.2-RELEASE amd64 and I'm so
surprised, many things work out of the box.
Thanks to the FreeBSD porters and maintainers, and to the Gnome
development team.
I'm looking to set the keyboard layout on gdm.
I have an azerty keyboard and I need to switch to fr layout.
My /usr/local/etc/X11/xorg.conf.d/keyboard-fr.conf
Section "InputClass"
Identifier "KeyboardDefaults"
MatchIsKeyboard "on"
Option "XkbLayout" "fr"
Option "XkbVariant" "oss"
EndSection
I already tried:
-
https://help.gnome.org/admin/system-admin-guide/stable/keyboard-layout.html.en#keyboard-layout-no-localectl
/usr/local/share/X11/xorg.conf.d/20-evdev-kbd.conf
Section "InputClass"
Identifier "Evdev keyboard"
MatchDevicePath "/dev/input/event*"
MatchIsKeyboard "on"
Option "XkbRules" "evdev"
Option "XkbLayout" "fr"
EndSection
- https://wiki.archlinux.org/index.php/GDM#Keyboard_layout
~/.dmrc
[Desktop]
Language=fr_FR.UTF-8
Layout=fr
No one solution works for me.
The keyboard layout in tty and Gnome is well configured and it works
well. It's just a gdm issue.
Any idea?
Regards
--
Grégory Reinbold <gregory at nosheep.fr>
More information about the freebsd-gnome
mailing list