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

Bug#238778: Processed: clone to X



tag 238778 + help
thanks

On Mon, Mar 22, 2004 at 04:13:20PM -0500, Joey Hess wrote:
> Branden Robinson wrote:
> > If someone from d-i could give this bug (#238778) a quick briefing on
> > what d-i keyboard layout info is available, we'll do our best here.
> 
> A system installed with d-i (and with base-config still installed) will
> have a debian-installer/keymap item in the debconf database. The value
> of that item will be the keymap the user chose, something like "us" or
> "dvorak", or "de-latin1-nodeadkeys". 
> 
> To map this to a keymap from /usr/share/keymaps/ and set up the console
> keymap, we use this method:
> 
>         db_get debian-installer/keymap
>         KEYMAP=$(find /usr/share/keymaps/ -name "$RET.kmap*")
> 
>         if [ ! -z "$KEYMAP" ]; then
>                 install-keymap $KEYMAP >/dev/null || true
>         fi

I see.  So, basically, d-i is just using console-data's schema straight
out of the box with no abstraction layer on top.

This is not ideal for supporting X keyboard configuration as well.

> I have no idea what will be feasable to do with X keymaps.

A gigantic mapping table, I guess.  :(

-- 
G. Branden Robinson                |     The Rehnquist Court has never
Debian GNU/Linux                   |     encountered a criminal statute it
branden@debian.org                 |     did not like.
http://people.debian.org/~branden/ |     -- John Dean

Attachment: signature.asc
Description: Digital signature


Reply to: