Keyboardmapping with evdev
Peter Hutterer
peter.hutterer at who-t.net
Thu Jul 12 23:43:40 PDT 2012
On Fri, Jul 13, 2012 at 08:21:14AM +0200, Daniel Spannbauer wrote:
> Am 07/13/2012 08:03 AM, schrieb Peter Hutterer:
> > On Thu, Jul 12, 2012 at 10:05:37AM +0200, Daniel Spannbauer wrote:
> >> Am 07/12/2012 08:33 AM, schrieb Daniel Spannbauer:
> >>> Hello,
> >>>
> >>> I try to get a german keyboard mapping on our own keyboard on a machine
> >>> with opensuse 11.4 (Xorg 7.6) and fglrx 8.930.
> >>>
> >>> My conf seems to be ok...
> >>>
> >>> ---------------------------------
> >>> Section "InputClass"
> >>> Identifier "evdev keyboard catchall"
> >>> MatchIsKeyboard "on"
> >>> MatchDevicePath "/dev/input/event*"
> >>> Driver "evdev"
> >>> EndSection
> >>>
> >>>
> >>> Section "InputClass"
> >>> Identifier "LocalKeyboard"
> >>> MatchIsKeyboard "on"
> >>> Option "XkbLayout" "de"
> >>> EndSection
> >>> -------------------------------------
> >>>
> >>>
> >>> According to the Xorg.0.log ( http://paste.opensuse.org/5436713 )the
> >>> german keyboard mapping should be active...but it is not. The layout is
> >>> still "us".
> >
> > please don't attach logs as pastebins. your post is set to expire in 4
> > weeks, after which it loses all information to future readers. so it may
> > help you right now, but there's nothing left for posterity.
> >
>
> hmmm, you are right, in the future I will post logs directly here...
>
>
>
>
> >>> If I connect a USB-Keyboard at the same time the layout on that
> >>> USB-Keyboard is german. After I press one key on that usb-keyboard our
> >>> own keyboard is also german.....
> >>>
> >>> Can anybody help me to figure out the problem? At normal circumstances I
> >>> can't connect an other keyboard.
> >>
> >>
> >> Additional Info:
> >>
> >> If I do a "setxkbmap -query -verbose 10" I get the following:
> >>
> >> -----------------------------------------------
> >> Setting verbose level to 10
> >> locale is C
> >> Applied rules from evdev:
> >> rules: evdev
> >> model: evdev
> >> layout: de
> >> Trying to build keymap using the following components:
> >> keycodes: evdev+aliases(qwertz)
> >> types: complete
> >> compat: complete
> >> symbols: pc+de+inet(evdev)+terminate(ctrl_alt_bksp)
> >> geometry: pc(pc104)
> >> rules: evdev
> >> model: evdev
> >> layout: de
> >> -----------------------------------------------
> >>
> >> But the Keyboard is still us/english. After a "setxkbmap de" the
> >> Keyboard is german.
> >>
> >> Any ideas?
> >
> > I suspect your desktop environment (GNOME? KDE?) overrides your choice of
> > xorg.conf.
>
> I don't think so.....if I don't start any desktop environment (simply a
> xterm) I have the same result. Normaly, we use twm which don't has an
> ability to change the keyboard settings.....
>
> Also in kdm (login manager) my keyboard is wrong. The USB-Keyboard seems
> to work correctly.
do you start X directly or through kdm? i'm pretty sure kdm changes the
layout.
Cheers,
Peter
More information about the xorg
mailing list