[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: USB keyboard problems / USB layout / USB xkbmap



On Mon, Mar 19, 2012 at 04:55, Christian Frey
<christian.frey.ch@gmail.com> wrote:
> OK, let's write it up properly ;)

<snip>
> Then I attached the Logitech K340 USB keyboard, the keyboard
> works but the language settings don't, i.e. I have obviously a GB
> layout. The only way to change this so far is to use:
>
> setxkbmap ch
>
> After executing this commmand, everything works fine - in the terminal
> as well as in GNOME, meaning I have the proper layout (I know that
> there are specific problems with Wheezy and USB keyboards known, and
> it is suggested to activate Legacy support in the BIOS. I have first
> to check if I have this option in the BIOS at all. Remark: Ubuntu
> 10.10 does not have all these problems).
>
> 2.) My etc/default/keyboard looks ok:
>
> # KEYBOARD CONFIGURATION FILE
>
> # Consult the keyboard(5) manual page.
>
> XKBMODEL="pc105"
> XKBLAYOUT="ch"
> XKBVARIANT=""
> XKBOPTIONS="terminate:ctrl_alt_bksp"
>
> BACKSPACE="guess"

<snip>

Lets see, a couple of things to check. The /etc/default/keyboard file
sets the console as well, so you can try rebooting and choose to go
into single user mode (recovery mode). That way you can see if
something at a higher runlevel (in gnome or similar) is overriding it
or if it not applying in the first place.

Another test would be to reboot and before running "setxkbmap ch"
run "setxkbmap -query", which will print the current setup.

If it is ok at first, but gets overridden, we will have to track down
what is changing it. If it is not setting it correctly in the first place,
we need to figure out why.


Cheers,
Kelly Clowers


Reply to: