default partial alphanumeric_keys xkb_symbols "basic" { name[Group1]= "Arabic"; // NOTES: // // There is also a combined shadda diacritic in the AltGr position of the // simple diacritics fatha, fathatan, damma, dammatan, kasra and kasratan. (??) // Should a third state be added to Group2? key { [ Arabic_thal, Arabic_shadda ] }; key { [ 1, exclam ] }; key { [ 2, at ] }; key { [ 3, numbersign ] }; key { [ 4, dollar ] }; key { [ 5, percent ] }; key { [ 6, asciicircum ] }; key { [ 7, ampersand ] }; key { [ 8, asterisk ] }; key { [ 9, parenright ] }; key { [ 0, parenleft ] }; key { [ minus, underscore ] }; key { [ equal, plus ] }; key { [ Arabic_dad, Arabic_fatha ] }; key { [ Arabic_sad, Arabic_fathatan ] }; key { [ Arabic_theh, Arabic_damma ] }; key { [ Arabic_qaf, Arabic_dammatan ] }; key { [ Arabic_feh, 0x100fef9, 0x10006a4 ] }; key { [ Arabic_ghain, Arabic_hamzaunderalef] }; key { [ Arabic_ain, grave ] }; key { [ Arabic_ha, division ] }; key { [ Arabic_khah, multiply ] }; key { [ Arabic_hah, Arabic_semicolon ] }; key { [ Arabic_jeem, less, 0x1000686 ] }; key { [ Arabic_dal, greater ] }; key { [ Arabic_sheen, Arabic_kasra ] }; key { [ Arabic_seen, Arabic_kasratan ] }; key { [ Arabic_yeh, bracketright ] }; key { [ Arabic_beh, bracketleft, 0x100067e ] }; key { [ Arabic_lam, 0x100fef7 ] }; key { [ Arabic_alef, Arabic_hamzaonalef ] }; key { [ Arabic_teh, Arabic_tatweel ] }; key { [ Arabic_noon, Arabic_comma ] }; key { [ Arabic_meem, slash ] }; key { [ Arabic_kaf, colon, 0x10006af ] }; key { [ Arabic_tah, quotedbl ] }; key { [ bar, brokenbar ] }; key { [Arabic_hamzaonyeh, asciitilde, guillemotright ]}; key { [ Arabic_hamza, Arabic_sukun, guillemotleft ]}; key { [Arabic_hamzaonwaw, braceright ] }; key { [ Arabic_ra, braceleft ] }; key { [ 0x100fefb, 0x100fef5 ] }; key { [Arabic_alefmaksura, Arabic_maddaonalef ] }; key { [Arabic_tehmarbuta, apostrophe ] }; key { [ Arabic_waw, comma ] }; key { [ Arabic_zain, period ] }; key { [ Arabic_zah, Arabic_question_mark ] }; }; partial alphanumeric_keys xkb_symbols "qwerty" { include "ara(basic)" name[Group1]= "Arabic (qwerty)"; }; partial alphanumeric_keys xkb_symbols "azerty" { include "ara(basic)" name[Group1]= "Arabic (azerty)"; // The North African Arabic keyboard differs from the Middle East one // by the numeric row; it follows French keyboard style. // // PROBLEM: some characters are inaccessible: ! @ # $ % ^ * // Should they go elsewhere? Replacing " ' that are now doubled? // Also, dead_circumflex and dead_diaeresis from French keyboard // as well as ugrave are missing, which questions the utility of the // other accentuated Latin letters. Maybe this is useful only with // a French keyboard in Group1? Then, shouldn't Group1 be filled? key { [ ampersand, 1 ] }; key { [ eacute, 2 ] }; key { [ quotedbl, 3 ] }; key { [ apostrophe, 4 ] }; key { [ parenleft, 5 ] }; key { [ minus, 6 ] }; key { [ egrave, 7 ] }; key { [ underscore, 8 ] }; key { [ ccedilla, 9 ] }; key { [ agrave, 0 ] }; key { [ parenright, degree ] }; }; partial hidden alphanumeric_keys xkb_symbols "digits_KP" { name[Group1]= "Arabic (digits_KP)"; // Use Arabic-script digits on the keypad. key { [ KP_Home, 0x1000667 ] }; key { [ KP_Up, 0x1000668 ] }; key { [ KP_Prior, 0x1000669 ] }; key { [ KP_Left, 0x1000664 ] }; key { [ KP_Begin, 0x1000665 ] }; key { [ KP_Right, 0x1000666 ] }; key { [ KP_End, 0x1000661 ] }; key { [ KP_Down, 0x1000662 ] }; key { [ KP_Next, 0x1000663 ] }; key { [ KP_Insert, 0x1000660 ] }; }; partial alphanumeric_keys xkb_symbols "digits" { include "ara(basic)" name[Group1]= "Arabic (digits)"; // Use Arabic-script digits on the numberic row. key { [ 0x1000661, exclam ] }; key { [ 0x1000662, at ] }; key { [ 0x1000663, numbersign ] }; key { [ 0x1000664, dollar ] }; key { [ 0x1000665, Arabic_percent ] }; key { [ 0x1000666, asciicircum ] }; key { [ 0x1000667, ampersand ] }; key { [ 0x1000668, asterisk ] }; key { [ 0x1000669, parenright ] }; key { [ 0x1000660, parenleft ] }; include "ara(digits_KP)" }; partial alphanumeric_keys xkb_symbols "qwerty_digits" { include "ara(digits)" name[Group1]= "Arabic (qwerty/digits)"; }; partial alphanumeric_keys xkb_symbols "azerty_digits" { include "ara(azerty)" name[Group1]= "Arabic (azerty/digits)"; key { [ ampersand, 0x1000661 ] }; key { [ eacute, 0x1000662 ] }; key { [ quotedbl, 0x1000663 ] }; key { [ apostrophe, 0x1000664 ] }; key { [ parenleft, 0x1000665 ] }; key { [ minus, 0x1000666 ] }; key { [ egrave, 0x1000667 ] }; key { [ underscore, 0x1000668 ] }; key { [ ccedilla, 0x1000669 ] }; key { [ agrave, 0x1000660 ] }; }; // Arabic keyboard using Buckwalter transliteration // http://www.qamus.org/transliteration.htm // Martin Vidner partial alphanumeric_keys xkb_symbols "buckwalter" { name[Group1]= "Arabic (Buckwalter)"; // ARABIC LETTER SUPERSCRIPT ALEF key { [ 0x1000670, Arabic_shadda ] }; // Arabic_0 .. Arabic_9 do not work in Kate, // Unicode never seems to work worse. key { [ 0x1000661, VoidSymbol ] }; key { [ 0x1000662, VoidSymbol ] }; key { [ 0x1000663, VoidSymbol ] }; key { [ 0x1000664, Arabic_sheen ] }; key { [ 0x1000665, Arabic_percent ] }; key { [ 0x1000666, VoidSymbol ] }; key { [ 0x1000667, Arabic_hamzaonwaw ] }; key { [ 0x1000668, Arabic_thal ] }; // ORNATE LEFT PARENTHESIS key { [ 0x1000669, 0x100fd3e ] }; // ORNATE RIGHT PARENTHESIS key { [ 0x1000660, 0x100fd3f ] }; key { [ minus, Arabic_tatweel ] }; key { [ equal, plus ] }; key { [ Arabic_qaf, VoidSymbol ] }; key { [ Arabic_waw, Arabic_hamzaonwaw ] }; key { [ VoidSymbol, Arabic_ain ] }; key { [ Arabic_ra, VoidSymbol ] }; key { [ Arabic_teh, Arabic_tah ] }; key { [ Arabic_yeh, Arabic_alefmaksura ] }; key { [ Arabic_damma, VoidSymbol ] }; key { [ Arabic_kasra, Arabic_hamzaunderalef ] }; key { [ Arabic_sukun, Arabic_hamzaonalef ] }; key { [ Arabic_tehmarbuta, VoidSymbol ] }; // ARABIC LETTER ALEF WASLA key { [ VoidSymbol, 0x1000671 ] }; key { [ VoidSymbol, Arabic_hamzaonyeh ] }; key { [ Arabic_fatha, Arabic_alef ] }; key { [ Arabic_seen, Arabic_sad ] }; key { [ Arabic_dal, Arabic_dad ] }; key { [ Arabic_feh, Arabic_fathatan ] }; key { [ Arabic_ghain, VoidSymbol ] }; key { [ Arabic_ha, Arabic_hah ] }; key { [ Arabic_jeem, VoidSymbol ] }; key { [ Arabic_kaf, Arabic_kasratan ] }; key { [ Arabic_lam, VoidSymbol ] }; key { [ Arabic_semicolon, VoidSymbol ] }; key { [ Arabic_hamza, VoidSymbol ] }; key { [ VoidSymbol, Arabic_maddaonalef ] }; key { [ Arabic_zain, Arabic_zah ] }; key { [ Arabic_khah, VoidSymbol ] }; key { [ VoidSymbol, VoidSymbol ] }; key { [ Arabic_theh, VoidSymbol ] }; key { [ Arabic_beh, VoidSymbol ] }; key { [ Arabic_noon, Arabic_dammatan ] }; key { [ Arabic_meem, VoidSymbol ] }; key { [ Arabic_comma, Arabic_hamzaunderalef ] }; // ARABIC FULL STOP (Urdu) key { [ 0x10006d4, Arabic_hamzaonalef ] }; key { [ VoidSymbol, Arabic_question_mark ] }; }; partial alphanumeric_keys xkb_symbols "olpc" { include "ara(basic)" // As part of the OLPC design, some changes were made to the Arabic // keyboard design. Major changes are: // // * Removed the lam-alef single character. People type as they // pronounce, and lam-alef is just a visual formatting of the // sequence and is not often used on the keyboard. It is // similar to the Allah single character, which is also not on // the keyboard. // * Moved the following keys: // o Thal from TLDE to AB05: due to space limitation on the // keyboard, but also accessibility. // o Shadda from TLDE to AD05. // * Placed currency letters on number keys and moved the ^ and & // characters to lower keys. (This change is worth revisiting // before end of test period). key { [ grave, asciitilde ] }; key { [ 0x1000661, exclam ] }; key { [ 0x1000662, at ] }; key { [ 0x1000663, numbersign ] }; key { [ 0x1000664, dollar ] }; key { [ 0x1000665, Arabic_percent ] }; key { [ 0x1000666, sterling ] }; key { [ 0x1000667, EuroSign ] }; key { [ 0x1000668, asterisk ] }; key { [ 0x1000669, parenright ] }; key { [ 0x1000660, parenleft ] }; key { [ Arabic_feh, Arabic_shadda ] }; key { [ Arabic_heh, division ] }; key { [ Arabic_jeem, braceright ] }; key { [ Arabic_dal, braceleft ] }; key { [ Arabic_sheen, greater ] }; key { [ Arabic_seen, less ] }; key { [ Arabic_lam, ampersand ] }; key { [ Arabic_kaf ] }; key { [ Arabic_tah ] }; key { [ backslash, bar ] }; // REH isolated form? key { [ Arabic_hamzaonwaw, Arabic_kasra ] }; key { [ Arabic_ra, Arabic_kasratan ] }; key { [ Arabic_thal, asciicircum ] }; include "group(olpc)" }; // EXTRAS: partial alphanumeric_keys xkb_symbols "sun_type6" { include "sun_vndr/ara(sun_type6)" };