OLPC Nepali Keyboard

From OLPC
Jump to navigation Jump to search
  This page is monitored by the OLPC team.

OLPC keyboard layouts

Instructions for setting up keyboard switching in Terminal are on the Customizing NAND images page. On bilingual XOs, the multiplication/division key is replaced with a keyboard switching key.

Changing the language of the keyboard is independent of changing the language currently displayed. The language currently displayed can be changed by using the Language section of the Sugar Control Panel.

Membrane keyboard layouts

English (US international); Spanish (Latin America); Portuguese (Brazilian); Amharic (Ethiopic); Arabic; Nigerian (Igbo, Hausa, Yoruba); French; Thai; Urdu; Cyrillic (Russian); Turkish; Nepali; Mongolian; Kazakh; Devanagari; Uzbek; Pashto; Dari; Armenian; Khmer; Pulaar; Italian; Kreyòl; German; Chinese (Simplified); OLPC AZERTY

Non-membrane keyboard layouts

Starting with the XO-1.5 HS ("High School") edition, the XO laptop has a traditional (non-membrane) keyboard available as an option: English (US International); Spanish (Latin America);

Blank Keyboard Artwork

Artwork defining the inner dimensions of the membrane keyboard is available here: keyboard-blank.svg



Nepali keyboard layout

the red dots are as yet unassigned key positions
Nepal Nepali
row key unmodified shift alt gr alt gr shift ctrl ctrl shift fn comment
1 (top) 131 esc HK_01 esc
130 ??? HK_00 journal search
112 F1 view mesh analog 1
132 HK_02 analog 2
113 F2 view friends analog 3
137 HK_07 analog 4
114 F3 view home analog 5
138 HK_08 analog 6
115 F4 view activity analog 7
120 F5 analog 8
139 HK_09 analog 9
121 F6 analog 10
140 HK_10 analog 11
122 F7 analog 12
141 HK_11 analog 13
123 F8 analog 14
116 F9 volume down analog 15
142 HK_12 analog 16
117 F10 analog 17
143 HK_13 analog 18
118 F11 analog 19
144 HK_14 analog 20
119 F12 volume up analog 21
135 ??? HK_05 chat/corkboard
136 ??? HK_06 frame
2 1 ` ~ SIGN AVAGRAHA, SIGN NUKTA
2 1 ! ! Nepali Digit ONE
3 2 @ @ C-@ Digit TWO
4 3 # # Digit THREE
5 4 $ $ Digit FOUR
6 5 % % Digit FIVE
7 6 ^ £ C-^ Digit SIX
8 7 & Digit SEVEN
9 8 * * Digit EIGHT
10 9 ( ( Digit NINE
11 0 ) ) Digit ZERO
12 ـ _ ـ _ C-_ STRESS SIGN ANUDATTA
13 = + AUM, VISHARGA
3 15 backspace backspace/delete (U+007F)
16 tab back tab C-tab C-tab
17 q Q C-Q C-Q JA, JHA
18 w W C-W C-W GA, GHA
19 e E C-E C-E YA, YNA
20 r R C-R C-R SA, SHA
21 t T C-T C-T E, EI
22 y Y C-Y C-Y CHHA, CHA
23 u U C-U C-U PA, PHA
24 i I C-I C-I VOWEL SIGN E, VOWEL SIGN EI
25 o O ाे ाै C-O C-O VOWEL SIGN O, VOWEL SIGN OI
26 p P C-P C-P TA, THA
27 [ { C-] C-] HRSHWA U, DIRGHA U (OO)
28 ] } C-[ C-[ HRSHWA I, DIRGHA I(EE)
4 58 control
31 a A C-A C-A MA, SIGN ANUSWOR
32 s S ि C-S C-S VOWEL SIGN HRSHWA I, VOWEL SIGN DIRGHA I
33 d D C-D C-D NA, NNA
34 f F C-F C-F SIGN HALANTA, DDA
35 g G C-G C-G TTA, TTHA
36 h H C-H C-H DA, DHA
37 j J C-J C-J SIGN AA, SIGN CHANDRAVINDU
38 k K C-K C-K RA, SIGN RRI
39 l L C-L C-L KA, KHA
40 ; : ؛ :
41 ' '
29 \ C-\ C-\
43 enter
5 44 left shift
46 z Z C-Z C-Z SSA, RRI
47 x X C-X C-X BA, BHA
48 c C C-C C-C VOWEL SIGN HRSHWA U, VOWEL SIGN DIRGHA U
49 v V C-V C-V HA, DDHA
50 b B C-B C-B O, OU
51 n N C-N C-N A, AA
52 m M C-M C-M LA, NGA
53 , < , ALPA VIRAM, WA
54 . > . PURNA VIRAM
55 / ? / ?
57 right shift insert
83 up arrow page up
134 AB/कख HK_04 language key
6 (bottom) 59 fn
unassigned left grab
60 alt
61 space view source
62 alt gr
133 right grab HK_03
79 left arrow home
84 down arrow page down
89 right arrow end

OLPC section of the XKB symbol file

To use the XKB Nepali layout along with US layout, you may need to edit /etc/X11/xorg.conf. This will make "us" the first and "np" a second layout:

XkbLayout "us,np"
XkbVariant "olpc2,olpc"
// $XKeyboardConfig: xkbdesc/symbols/np,v 1.2 2006/10/03 22:33:37 svu Exp $

// based on a keyboard map from an 'xkb/symbols/dev' file
//
// $XFree86: xc/programs/xkbcomp/symbols/pc/dev,v 1.2 2002/11/22 04:03:28 dawes Exp $

partial default alphanumeric_keys 
xkb_symbols "basic" {

      name[Group1]= "Nepal";

// `,1,2,3,4,5,6,7,8,9,0,-,=

      key <TLDE> { [      0x100093D, 0x100093C 		]	}; // SIGN AVAGRAHA,़ SIGN NUKTA
      key <AE01> { [      0x1000967	 		]	}; // Nepali digit one
      key <AE02> { [      0x1000968			]	}; // Nepali digit two
      key <AE03> { [      0x1000969 	 		]	}; // Nepali digit three
      key <AE04> { [      0x100096A  	 		]	}; // Nepali digit four
      key <AE05> { [      0x100096B  	 		]	}; // Nepali digit five
      key <AE06> { [      0x100096C  	 		]	}; // Nepali digit six
      key <AE07> { [      0x100096D                     ]	}; // Nepali digit seven
      key <AE08> { [      0x100096e  	 		]	}; // Nepali digit eight
      key <AE09> { [      0x100096F	 		]	}; // Nepali digit nine
      key <AE10> { [      0x1000966, 0x1000970		]	}; // Nepali digit zero

// q,w,e,r,t,y,u,i,o,p,[,]

      key <AD01> { [      0x100091F,  0x1000920       	]	}; // TTA, TTHA
      key <AD02> { [      0x100094C,  0x1000914       	]	}; // VOWEL SIGN AU, AU
      key <AD03> { [      0x1000947,  0x1000948       	]	}; // VOWEL SIGN E, VOWEL SIGN AI
      key <AD04> { [      0x1000930,  0x1000943       	]	}; // RA, VOWEL SIGN VOCALIC R
      key <AD05> { [      0x1000924,  0x1000925       	]	}; // TA, THA
      key <AD06> { [      0x100092F,  0x100091E 	]	}; // YA, YNA
      key <AD07> { [      0x1000941,  0x1000942 	]	}; // VOWEL SIGN HRSHWA U, VOWEL SIGN DIRGHA UU
      key <AD08> { [      0x100093F,  0x1000940 	]	}; // VOWEL SIGN HRSHWA I, VOWEL SIGN DIRGHA II
      key <AD09> { [      0x100094B,  0x1000913		]	}; // VOWEL SIGN O, O
      key <AD10> { [      0x100092A,  0x100092B 	]	}; // PA, PHA
      key <AD11> { [      0x1000907,  0x1000908		]	}; // HRSHWA I, DIRGHA II
      key <AD12> { [      0x100090F,  0x1000910		]	}; // E, EI

// a,s,d,f,g,h,j,k,l,;,',Backslash 
      key <AC01> { [      0x100093E,  0x1000906       	]	}; // SIGN AA, AA
      key <AC02> { [      0x1000938,  0x1000936       	]	}; // SA, SHA
      key <AC03> { [      0x1000926,  0x1000927       	]	}; // DA, DHA
      key <AC04> { [      0x1000909,  0x100090A       	]	}; // HRSHWA U, DIRGHA U (UU)
      key <AC05> { [      0x1000917,  0x1000918       	]	}; // GA, GHA
      key <AC06> { [      0x1000939,  0x1000905 	]	}; // HA, A
      key <AC07> { [      0x100091C,  0x100091D 	]	}; // JA, JHA
      key <AC08> { [      0x1000915,  0x1000916 	]	}; // KA, KHA
      key <AC09> { [      0x1000932,  0x1000933 	]	}; // LA, LLA
      key <AC10> { [      semicolon,  colon 		]	};
      key <AC11> { [      quoteright, quotedbl 		]	};
      key <BKSL> { [      0x1000950,  0x1000903 	]	}; // OM, SIGN VISARGA


// z,x,c,v,b,n,m,,,.,/ 
      key <AB01> { [      0x1000937,  0x100090B		]	}; // SSA, VOCALIC R (RRI)
      key <AB02> { [      0x1000921,  0x1000922		]	}; // DDA, DDHA
      key <AB03> { [      0x100091B,  0x100091A         ]       }; // CHHA, CHA
      key <AB04> { [      0x1000935,  0x1000901		]       }; // VA, SIGN CANDRABINDU
      key <AB05> { [      0x100092C,  0x100092D		]       }; // BA, BHA
      key <AB06> { [      0x1000928,  0x1000923         ]       }; // NA, NNA
      key <AB07> { [      0x100092E,  0x1000902         ]       }; // MA, SIGN ANUSVARA
      key <AB09> { [      0x1000964,  0x1000965		]       }; // DANDA, DOUBLE DANDA
      key <AB10> { [      0x100094D,  question		]       }; // VIRAMA (HALANTA?)
};

// missing: 0x1000919 // NGA
partial alphanumeric_keys
xkb_symbols "olpc" {

// Contact: Walter Bender <walter@laptop.org>

  include "np"
      key <AE11> { [      0x1000952 			]	}; // STRESS SIGN ANUDATTA
      key <AE12> { [      0x1000950, 0x1000903 		]	}; // OM, SIGN VISARGA

      key <I219> { [ ISO_Next_Group, ISO_Prev_Group	]	};  //language key

};