[Sugar-devel] XO-1 keyboard issues, partial setxkbmap workaround

Martin Dengler martin at martindengler.com
Sat Mar 14 23:51:21 EDT 2009


On Sat, Mar 14, 2009 at 02:42:13AM -0700, S Page wrote:
> I read that in today's SoaS2 release
> > * keyboard layout changes should be possible via system-config-keyboard
> I ran this from Terminal Activity in rawhide-XO 20090313 and got a
> keyboard chooser dialog.  But it doesn't have any OLPC entries  at
> all, let alone a "US English (OLPC)" entry.
> I have a similar problem with the keyboard preference in rawhide-XO's
> login screen: it lists some Afghanistan OLPC models, but nothing that
> looks like an English-language OLPC keyboard.

After a bit of digging I've concluded that there is no way to get the
OLPC keyboards into fedora/rawhide's system-config-keyboard without
some hardcoded hacks or non-trivial code changes because:

1. system-config-keyboard uses rhpl's hardcoded list of keyboard
translations[1]
2. the authoritative list of what keyboard models, layouts, and
variants exist are accessible through libxkbfile[2], for which I
haven't found python bindings[3].

I hope someone can point out something I've overlooked.

> =S Page

Martin

1. http://git.fedorahosted.org/git/?p=hosted/rhpl.git;a=blob;f=src/keyboard_models.py;h=8b6c9ca21a495822f9376d9f39d04f4d93ce902c;hb=HEAD
2. http://who-t.blogspot.com/2008/09/rmlvo-keyboard-configuration.html
3. Though I suppose one could try parsing setxkbmap


> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20090315/80993abf/attachment.pgp 


More information about the Sugar-devel mailing list