File talk:WAfrica-Alt-1.png: Difference between revisions

From OLPC
Jump to navigation Jump to search
(New page: I generally followed the SIL layout, but as we are using Alt-gr instead of deadkeys, I made a few changes. Also, I couldn't readily find glyphs for U+F21B, U+F218, U+F215, and U+F214, so I...)
 
No edit summary
Line 1: Line 1:
I generally followed the SIL layout, but as we are using Alt-gr instead of deadkeys, I made a few changes. Also, I couldn't readily find glyphs for U+F21B, U+F218, U+F215, and U+F214, so I haven't included those characters. Any comments regarding what to do about these? --[[User:Walter|Walter]] 12:56, 2 November 2007 (EDT)
I generally followed the SIL layout, but as we are using Alt-gr instead of deadkeys, I made a few changes. Also, I couldn't readily find glyphs for U+F21B, U+F218, U+F215, and U+F214, so I haven't included those characters. Any comments regarding what to do about these? --[[User:Walter|Walter]] 12:56, 2 November 2007 (EDT)

==OLPC section of the XKB symbol file==
To use the XKB West African layout, you may need to edit <tt>/etc/X11/xorg.conf</tt>:

XkbLayout "ng"
XkbVariant "olpc"

<pre>
partial alphanumeric_keys
xkb_symbols "olpc" {
name[Group1]= "OLPC West Africa";

include "us(basic)"

// OLPC West African keyboard layout.
// See: http://wiki.laptop.org/go/Image:WAfrica-Alt-1.png

key <TLDE> { [ grave, asciitilde, 0x1000300, 0x1000303 ] }; // combining grave; combining tilde above
key <AE01> { [ 1, exclam, exclamdown, exclamdown ] };
key <AE02> { [ 2, at, 0x100030A, 0x100030A ] }; // combining ring above
key <AE03> { [ 3, numbersign, sterling, sterling ] };
key <AE04> { [ 4, dollar, 0x10020A6, 0x10020A6 ] }; // Naira
key <AE05> { [ 5, percent, eurosign, eurosign ] };
key <AE06> { [ 6,asciicircum, 0x1000302, 0x1000302 ] }; // combining circumflex above
key <AE07> { [ 7, ampersand, 0x1000324, 0x1000324 ] }; // combining caron above
key <AE08> { [ 8, asterisk, 0x1000330, 0x1000330 ] }; // combining tilde below
key <AE09> { [ 9, parenleft, 0x100030D, 0x100030D ] }; // combining vertical line above
key <AE10> { [ 0, parenright, 0x1000329, 0x1000329 ] }; // combining vertical line below
key <AE11> { [ minus, underscore, 0x1000304, 0x1000304 ] }; // combining macron above
key <AE12> { [ equal, plus, 0x1000331, 0x1000331 ] }; // combining macron below

key <AD01> { [ q, Q, oslash, Oslash ] }; // 0x10000F8; 0x10000D8
key <AD02> { [ w, W, schwa, Schwa ] }; // 0x1000259; 0x100018F
key <AD03> { [ e, E, 0x10001DD, 0x100018E ] }; // reverse E
key <AD04> { [ r, R, 0x1000167, 0x1000166 ] }; // T with stroke
key <AD05> { [ t, T, 0x10001AD, 0x10001AC ] }; // T with hook
key <AD06> { [ y, Y, 0x10001B4, 0x10001B3 ] }; // Y with hook
key <AD07> { [ u, U, 0x1000289, 0x100F218 ] }; // U with bar
key <AD08> { [ i, I, 0x1000268, 0x1000197 ] }; // I with bar
key <AD09> { [ o, O, 0x1000254, 0x1000186 ] }; // open O
key <AD10> { [ p, P, 0x10001A5, 0x10001A4 ] }; // P with hook
key <AD11> { [ bracketleft, braceleft, 0x10001B6, 0x10001B5 ] }; // Z with bar
key <AD12> { [bracketright, braceright, sigma, Sigma ] }; // 0x1000283, 0x10001A9
key <AC01> { [ a, A, ae, AE ] };
key <AC02> { [ s, S, ssharp, ssharp ] };
key <AC03> { [ d, D, eth, ETH ] };
key <AC04> { [ f, F, thorn, THORN ] };
key <AC06> { [ h, H, sterling, sterling ] };
key <AC07> { [ j, J, EuroSign, EuroSign ] };
key <AC10> { [ semicolon, colon, 0x1000308, 0x1000308 ] }; // combining diaeresis above
key <AC11> { [ apostrophe, quotedbl, 0x1000301, 0x1000301 ] }; // combining acute
key <BKSL> { [ backslash, bar, section, section ] };

key <AB03> { [ c, C, ccedilla, Ccedilla ] };
key <AB06> { [ n, N, ntilde, Ntilde ] };
key <AB07> { [ m, M, mu, mu ] );
key <AB08> { [ comma, less, 0x1000327, guillemontleft ] }; // combining cedilla
key <AB09> { [ period, greater, 0x1000323, guillemontright ] }; // combining dot below
key <AB10> { [ slash, question, 0x1000307, questiondown ] }; // combining dot above

key <I219> { [ multiply, division, ISO_Next_Group, ISO_Prev_Group ] };

include "level3(ralt_switch)"
};

partial alphanumeric_keys
xkb_symbols "olpc2" {
include "us(olpc)"
key <I219> { [ ISO_Next_Group, ISO_Prev_Group ] };
};
</pre>

Revision as of 17:52, 2 November 2007

I generally followed the SIL layout, but as we are using Alt-gr instead of deadkeys, I made a few changes. Also, I couldn't readily find glyphs for U+F21B, U+F218, U+F215, and U+F214, so I haven't included those characters. Any comments regarding what to do about these? --Walter 12:56, 2 November 2007 (EDT)

OLPC section of the XKB symbol file

To use the XKB West African layout, you may need to edit /etc/X11/xorg.conf:

XkbLayout "ng"
XkbVariant "olpc"
partial alphanumeric_keys
xkb_symbols "olpc" {
   name[Group1]= "OLPC West Africa";

   include "us(basic)"

   // OLPC West African keyboard layout.
   // See: http://wiki.laptop.org/go/Image:WAfrica-Alt-1.png

   key <TLDE> { [     grave, asciitilde,    0x1000300,        0x1000303 ] }; // combining grave; combining tilde above
   key <AE01> { [         1,     exclam,   exclamdown,       exclamdown ] };
   key <AE02> { [         2,         at,    0x100030A,        0x100030A ] }; // combining ring above
   key <AE03> { [         3, numbersign,     sterling,         sterling ] };
   key <AE04> { [         4,     dollar,    0x10020A6,        0x10020A6 ] }; // Naira
   key <AE05> { [         5,    percent,     eurosign,         eurosign ] };
   key <AE06> { [         6,asciicircum,    0x1000302,        0x1000302 ] }; // combining circumflex above
   key <AE07> { [         7,  ampersand,    0x1000324,        0x1000324 ] }; // combining caron above
   key <AE08> { [         8,   asterisk,    0x1000330,        0x1000330 ] }; // combining tilde below
   key <AE09> { [         9,  parenleft,    0x100030D,        0x100030D ] }; // combining vertical line above
   key <AE10> { [         0, parenright,    0x1000329,        0x1000329 ] }; // combining vertical line below
   key <AE11> { [     minus, underscore,    0x1000304,        0x1000304 ] }; // combining macron above
   key <AE12> { [     equal,       plus,    0x1000331,        0x1000331 ] }; // combining macron below

   key <AD01> { [         q,          Q,       oslash,           Oslash ] }; // 0x10000F8; 0x10000D8
   key <AD02> { [         w,          W,        schwa,            Schwa ] }; // 0x1000259; 0x100018F
   key <AD03> { [         e,          E,    0x10001DD,        0x100018E ] }; // reverse E
   key <AD04> { [         r,          R,    0x1000167,        0x1000166 ] }; // T with stroke
   key <AD05> { [         t,          T,    0x10001AD,        0x10001AC ] }; // T with hook
   key <AD06> { [         y,          Y,    0x10001B4,        0x10001B3 ] }; // Y with hook
   key <AD07> { [         u,          U,    0x1000289,        0x100F218 ] }; // U with bar
   key <AD08> { [         i,          I,    0x1000268,        0x1000197 ] }; // I with bar
   key <AD09> { [         o,          O,    0x1000254,        0x1000186 ] }; // open O
   key <AD10> { [         p,          P,    0x10001A5,        0x10001A4 ] }; // P with hook
   key <AD11> { [ bracketleft,  braceleft,  0x10001B6,        0x10001B5 ] }; // Z with bar
   key <AD12> { [bracketright, braceright,      sigma,            Sigma ] }; // 0x1000283, 0x10001A9
 
   key <AC01>  { [         a,          A,          ae,               AE ] };
   key <AC02>  { [         s,          S,      ssharp,           ssharp ] };
   key <AC03>  { [         d,          D,         eth,              ETH ] };
   key <AC04>  { [         f,          F,       thorn,            THORN ] };
   key <AC06>  { [         h,          H,    sterling,         sterling ] };
   key <AC07>  { [         j,          J,    EuroSign,         EuroSign ] };
   key <AC10>  { [ semicolon,      colon,   0x1000308,        0x1000308 ] }; // combining diaeresis above
   key <AC11>  { [ apostrophe,  quotedbl,   0x1000301,        0x1000301 ] }; // combining acute
   key <BKSL>  { [ backslash,        bar,      section,         section ] };

   key <AB03>  { [         c,          C,    ccedilla,         Ccedilla ] };
   key <AB06>  { [         n,          N,      ntilde,           Ntilde ] };
   key <AB07>  { [         m,          M,          mu,               mu ] );
   key <AB08>  { [     comma,       less,   0x1000327,   guillemontleft ] }; // combining cedilla
   key <AB09>  { [    period,    greater,   0x1000323,  guillemontright ] }; // combining dot below
   key <AB10>  { [     slash,   question,   0x1000307,     questiondown ] }; // combining dot above

   key <I219>  { [  multiply,   division, ISO_Next_Group, ISO_Prev_Group ] };

   include "level3(ralt_switch)"
};

partial alphanumeric_keys
xkb_symbols "olpc2" {
   include "us(olpc)"
   key <I219>  { [ ISO_Next_Group, ISO_Prev_Group ] };
};