Matthew Stevenson wrote:
> I have a standard UK keyboard layout, but according to /var/log/Xorg.0.log, 
> Xorg has it configured as a sun_type6_usb keyboard with US layout. I have 
> tried the following things to set it to UK:
> 
> 1. Use Input Method Switcher to remove US as an option in "languages/scripts" 
> and only leave UK. Doesn't seem to change anything.
> 
> 2. Use kbd -s and choose option 43, which is UK English on my installation. 
> US English is 44. However, if I do a kbd -l, it always shows the type as 32, 
> which is Russian, which it's definitely not using so I don't know what's 
> going on there.

kbd -l doesn't use the same numbers as kbd -s - 32 is UK English - see the list
in /usr/X11/lib/X11/xkb/xkbtable.map.   (All USB & PS/2 keyboards use the "Type
6 USB" maps there, in which 32 is "sun_type6_euro_usb      gb      # UK6_usb"

Note that kbd -s changes don't take effect in X until the next time the X server
is restarted.

> What should I try next? This behaviour only appeared when the /dev branch got 
> upgraded to snv_117, it was working ok before that.

That update (111 -> 117) includes the HAL update to allow it to scan for input
devices and report them to X.   It also uses the xkbtable.map file - you can
see what devices it founds and what it thinks of their configuration by running
"lshal" and looking for devices with input.x11_* properties.

-- 
        -Alan Coopersmith-           alan.coopersmith at sun.com
         Sun Microsystems, Inc. - X Window System Engineering


Reply via email to