Re: Swedish keyboard not recognised

"Göran Uddeborg" <[email protected]> Tue, 18 Jan 2005 12:03:06 +0100
Newsgroups gmane.comp.emulators.winex.devel
Message-ID <[email protected]>
Peter Hunnisett writes:
> Ok. There's definitely something strange going on with your setup.

My xorg.conf just says

    Section "InputDevice"
	    Identifier  "Keyboard0"
	    Driver      "kbd"
	    Option      "XkbLayout" "se"
	    Option      "XkbModel"  "pc105"
    EndSection

Doing "setxkbmap -print"  I get

    xkb_keymap {
	    xkb_keycodes  { include "xfree86+aliases(qwerty)"	};
	    xkb_types     { include "complete"	};
	    xkb_compat    { include "complete"	};
	    xkb_symbols   { include "pc/pc(pc105)+pc/se"	};
	    xkb_geometry  { include "pc(pc105)"	};
    };

Is there anything here that looks strange?

> I've attached the output of an xmodmap to a swedish setup ( setxkbmap 
> se; xmodmap -pk > output; setxkbmap us ) . Perhaps you could tell me if 
> that's what you have and if not could you provide the output. 

There are several differences.  Most of them seem to be that symbol 3
and 4 are repeated as 5 and 6 in my case.  And that difference does
not seem to matter.  It applies both to keys that match, like for
character "1", and keys that don't match, like for character "2".

The one interesting point I saw was that your keymap include
Mode_switch, while mine contains ISO_Level3_Shift instead.  I won't
claim I quite understand the full implications.  What I know is that
somewhere along the XFree86 development, during 4.3 I believe, the key
which was formerly called Mode_switch started to be named
ISO_Level3_Shift.

Maybe this could be a clue?  Remember that the keys that don't match
are exactly those where a third letter is defined in the map
main_key_SE in the source.  I.e., those where symbols generated by
Mode_switch/ISO_Level3_Shift are checked.

> Alternatively, it's possible that you have a slightly different Swedish 
> setup than I have for my X server

Could different versions of X be involved.  These tests have been made
with the most current X for Fedora: xorg-x11-6.8.1-12.FC3.21.  (The
problem is older than that.  But it could have started after the
switch from Mode_switch to ISO_Level3_Shift, I can't say.)

> or just a different type of Swedish 
> keyboard (although I didn't think that there was a different one).

I'm not aware there has been any different layouts used the last 20
years or so at least.
modmap.bz2 (application/x-bzip2, 2.5 KB) - not displayed