// $XKeyboardConfig$ // based on a keyboard map from an 'xkb/symbols/ar' file partial default alphanumeric_keys xkb_symbols "basic" { name[Group1]= "Arabic"; // NOTES: // // there is also combined shadda diacritis in AltGr position of 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 ] }; 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 ] }; key { [ Arabic_dal, greater ] }; key { [ Arabic_sheen, Arabic_kasra ] }; key { [ Arabic_seen, Arabic_kasratan ] }; key { [ Arabic_yeh, bracketright ] }; key { [ Arabic_beh, bracketleft ] }; 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 ] }; key { [ Arabic_tah, quotedbl ] }; key { [ bar, brokenbar ] }; key { [Arabic_hamzaonyeh, asciitilde ] }; key { [ Arabic_hamza, Arabic_sukun ] }; 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 ] }; // End alphanumeric section }; 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 chars are inaccessible: ! @ # $ % ^ * // should they go elsewhere? replace " ' that are now in double ? // 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 alphanumeric_keys xkb_symbols "digits" { include "ara(basic)" name[Group1]= "Arabic - digits"; // use arabic script digits 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 ] }; }; 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 // symbol names: see /usr/X11R6/include/X11/keysymdef.h (XFree86-devel.rpm) 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 { [ bar, brokenbar ] }; 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 ] }; // End alphanumeric section };