prefered way of configuring X11 keyboard layouts in F18

Lennart Poettering mzerqung at 0pointer.de
Mon Dec 24 11:56:24 UTC 2012


On Fri, 21.12.12 16:11, Adam Williamson (awilliam at redhat.com) wrote:

> On Fri, 2012-12-21 at 16:57 +0100, Lennart Poettering wrote:
> 
> > > The database is bitrotten and even it it wasn't most modern layouts do not
> > > exist kbd-side at all. Most layouts with perfect mapping are old legacy
> > > ascii layouts. They are still in xkb-config for historical reasons but in
> > > many locales the preferred layout includes changes (unicodeā€¦) which have
> > > never been ported to kbd.
> > 
> > I doubt it's that rotten. It definitely works fine for the most popular
> > keymaps, such as the american and german. 
> 
> All this keymap stuff is bending my brain, but I've been poking at it
> for the last few days, and I'm rather afraid it *is* that bad. See this
> tentatively accepted blocker bug:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=889562
> 
> If I have everything right, anaconda is offering a keymap list that it
> derives from xkb. I'm having trouble counting precisely how many layouts
> it offers, but it looks to be definitely over 400.
> 
> According to 'localectl list-keymaps', systemd-localed has mappings for
> 209 keymaps.

Well, that's simply a fact that the console keymaps are much fewer than
the X keymaps, but that's not really an issue of localed/systemd, but
rather a general shortcoming of the classic console keymap system. Also,
it's hardly a regression in comparison to older Fedora...

> So there's at least 191 keymaps (probably rather more) which anaconda
> offers you but which systemd doesn't understand: if you install with any
> of these keymaps selected as the default keymap (top of the list in
> Keyboard spoke), you will wind up with US as your console keyboard
> layout on the installed system.
> 
> We could really do with input from interested parties on exactly how bad
> of a problem this is - if people could look through the keyboard layouts
> offered in F18's Keyboard spoke and compare them to the list from
> 'localectl list-keymaps', and identify particularly important ones that
> systemd doesn't seem to grok, it'd really help.

"localectl list-keymaps" shows all files below /usr/lib/kbd/keymaps btw,
that's all it does...

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the devel mailing list