On 26/06/13 10:52, Walter Bender wrote:
The widget was broken until recently. Not sure my patches have landed
in any releases yet. But we should be able to make a layout that works
for both English and Maori without any end-user intervention. Will try
to get to it this week.

Attached is a patch to the output of xkbcomp on an XO-4 with mechanical keyboard. Sorry it's not in style of the files in /usr/share/X11/xkb, I still haven't been able to unravel how those files work. I think I can make an mi file that just has the changed lines, which layout should I use as a base? I'm guessing I might need to do something different for the membrane and mechanical keyboards?

What is the best way to modify the laptops? Copying modified output of xkbcomp to /usr/share/X11/xkb/symbols/mi and running

setxkbmap mi

does the trick, but setting the content of /home/olpc/.Xkbmap to mi does not make this the default after reboot.
--- orig.xkb	2013-06-26 09:28:21.770500621 +0000
+++ test.xkb	2013-06-26 09:28:07.050500619 +0000
@@ -1188,7 +1188,7 @@
     key <AD03> {
         type= "FOUR_LEVEL_ALPHABETIC",
         repeat= No,
-        symbols[Group1]= [               e,               E,              oe,              OE ]
+        symbols[Group1]= [               e,               E,           U0113,           U0112 ]
     };
     key <AD04> {
         type= "FOUR_LEVEL_SEMIALPHABETIC",
@@ -1208,17 +1208,17 @@
     key <AD07> {
         type= "FOUR_LEVEL_SEMIALPHABETIC",
         repeat= No,
-        symbols[Group1]= [               u,               U,           U032D,           U032D ]
+        symbols[Group1]= [               u,               U,           U016B,           U016A ]
     };
     key <AD08> {
         type= "FOUR_LEVEL_SEMIALPHABETIC",
         repeat= No,
-        symbols[Group1]= [               i,               I,           U032C,           U032C ]
+        symbols[Group1]= [               i,               I,           U012B,           U012A ]
     };
     key <AD09> {
         type= "FOUR_LEVEL_SEMIALPHABETIC",
         repeat= No,
-        symbols[Group1]= [               o,               O,           U0323,           U0323 ]
+        symbols[Group1]= [               o,               O,           U014D,           U014C ]
     };
     key <AD10> {
         type= "FOUR_LEVEL_SEMIALPHABETIC",
@@ -1246,7 +1246,7 @@
     key <AC01> {
         type= "FOUR_LEVEL_ALPHABETIC",
         repeat= No,
-        symbols[Group1]= [               a,               A,              ae,              AE ]
+        symbols[Group1]= [               a,               A,           U0101,           U0100 ]
     };
     key <AC02> {
         type= "FOUR_LEVEL_SEMIALPHABETIC",
_______________________________________________
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel

Reply via email to