> > Hi. > > F18 has deprecated /etc/sysconfig/keyboard but either > > there's no way to configure the X keymap (bug) or I > haven't > > found yet. > > > > In a post a few days ago it was said that > /etc/vconsole.conf > > would replace it but X fails to set the keyboard from > > there. > > > > $ cat /etc/vconsole.conf > > FONT="latarcyrheb-sun16" > > KEYMAP="br-abnt2" > > > > $ cat /var/log/Xorg.0.log > > {snip} > > [ 599.674] (**) Option "xkb_rules" "evdev" > > [ 599.674] (**) Option "xkb_model" "evdev" > > [ 599.674] (**) Option "xkb_layout" "us" > > {snip} > > > > So it sets the 'us' keymap and thus this is the keymap > > active in the login window (lightdm here). > > > > I tried with > > $ cat /etc/X11/xorg.conf.d/00-keyboard.conf > > > > Section "InputDevice" > > Identifier > > "Keyboard0" > > Driver > > "keyboard" > > Option > > "XkbLayout" "br" > > Option > > "XkbModel" "abnt2" > > EndSection > > > > But it doesn't work (I tried changing driver name, > adding > > the ServerLayout section etc.). > > > > See X log from F17 with /etc/sysconfig/keyboard: > > > > $ cat /var/log/Xorg.1.log > > {snip} > > [ 4690.573] (**) Option "xkb_rules" "evdev" > > [ 4690.573] (**) Option "xkb_model" "abnt2" > > [ 4690.573] (**) Option "xkb_layout" "br" > > [ 4690.573] (**) Option "xkb_options" > > "terminate:ctrl_alt_bksp," > > {snip} > > > > note: I'm using the NVIDIA driver from rpmfusion. Maybe > it > > would work with the kernel driver (nouveau; I mention > it as > > it seems it's more integrated yet than before) but > still X > > should configure the keyboard properly regardless of > the > > video driver used. > > > > I found in another post about localectl (and read now your > answer, Frank). > I ran it and the change it made in vconsole.conf just > removed the quotes. Let's see if it will work. > > I also ran it for the locale as I was receiving a dracut > error at boot with en_US.UTF-8. So I changed with the listed > en_US.utf8. > Let's see if it will make any difference. > Worked fine. It actually changed /etc/X11/xorg.conf.d/00-keyboard.conf: # Read and parsed by systemd-localed. It's probably wise not to edit this file # manually too freely. Section "InputClass" Identifier "system-keyboard" MatchIsKeyboard "on" Option "XkbLayout" "br" EndSection -- test mailing list test@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test