Is it possible to configure X keyboard in F18?
Sergio
sergiocmailbox-users at yahoo.com.br
Thu Nov 8 15:11:15 UTC 2012
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.
More information about the test
mailing list