All pastes #394511 Raw Edit

Gurpartap Singh

public c v1 · immutable
·published 2007-03-14 11:56 UTC
rendered paste body
////////////////////////// Please include the following code in  /etc/X11/xkb/rules/xfree86.xml (for gnome) under the one for "Gurmukhi"(search for it).        <variant>          <configItem>            <name>guru_phonetic</name>            <description>Gurmukhi Phonetic</description>            <description xml:lang="bg">&#1075;&#1091;&#1088;&#1084;&#1091;&#1082;&#1080; Phonetic</description>              <description xml:lang="es">Gurmukhi Phonetic</description>            <description xml:lang="fi">gurmukhilainen Phonetic</description>            <description xml:lang="fr">Gurmukhi Phonetic</description>            <description xml:lang="nl">Gurmukhi Phonetic</description>            <description xml:lang="ru">&#1043;&#1091;&#1088;&#1084;&#1091;&#1082;&#1093;&#1080; Phonetic</description>            <description xml:lang="sl">Gurmukhi (Indija) Phonetic</description>            <description xml:lang="sr">&#1075;&#1091;&#1088;&#1084;&#1091;&#1082;&#1080; Phonetic</description>            <description xml:lang="sr@Latn">gurmuki Phonetic</description>            <description xml:lang="tr">Gurmukhi Phonetic</description>            <description xml:lang="zh_TW">&#21476;&#29246;&#31302;&#24076;&#25991; Phonetic</description>          </configItem>        </variant> ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Include the below content in /etc/X11/xkb/symbols/in file, at the end of file for convenience.// based on a keyboard map from an 'xkb/symbols/gur' filepartial alphanumeric_keysxkb_symbols "guru_phonetic" {      name[Group1]= "India - Gurmukhi Phonetic";      // Mainly numbers.      key <AE01> { [      0x1000A67,     exclam, 0x1000A74 ]	};      key <AE02> { [      0x1000A68,         at, 0x100262C	]	};      key <AE03> { [      0x1000A69, numbersign ]	};      key <AE04> { [      0x1000A6A,     dollar ]	};      key <AE05> { [      0x1000A6B,    percent ]	};      key <AE06> { [      0x1000A6C,asciicircum ]	};      key <AE07> { [      0x1000A6D,  ampersand ]	};      key <AE08> { [      0x1000A6e,   asterisk ]	};      key <AE09> { [      0x1000A6F,  parenleft ]	};      key <AE10> { [      0x1000A66, parenright ]	};      key <AE11> { [      gur_visarga 	        ]	};      key <AE12> { [      gur_v_r,    gur_v_r_s ]	};// Mainly long vowels      key <AD01> { [      0x1000A47, 0x1000A48  ]	};      key <AD02> { [      0x1000A71, 0x1000A25  ]	};      key <AD03> { [      0x1000A72             ]	};      key <AD04> { [      0x1000A30, 0x1000A5C  ]	};      key <AD05> { [      0x1000A24, 0x1000A1F  ]	};// Mainly voiced consonants      key <AD06> { [      0x1000A2F 	]	};      key <AD07> { [      0x1000A41, 0x1000A42 	]	};      key <AD08> { [      0x1000A3F, 0x1000A40 	]	};      key <AD09> { [      0x1000A4B, 0x1000A4C 	]	};      key <AD10> { [      0x1000A2A, 0x1000A2B 	]	};      key <AD11> { [      0x1000964, 0x1000965 	]	};      key <AD12> { [      0x1000A70, 0x1000A02 	]	};// Mainly short vowels      key <AC01> { [      0x1000A05, 0x1000A73  ]	};      key <AC02> { [      0x1000A38, 0x1000A20  ]	};      key <AC03> { [      0x1000A26, 0x1000A27  ]	};      key <AC04> { [      0x1000A3E, 0x1000A4D  ]	};      key <AC05> { [      0x1000A17, 0x1000A18  ]	};// Mainly unvoiced consonants      key <AC06> { [      0x1000A39, 0x1000A19 	]	};      key <AC07> { [      0x1000A1C, 0x1000A1D 	]	};      key <AC08> { [      0x1000A15, 0x1000A16 	]	};      key <AC09> { [      0x1000A32 	          ]	};      key <AC10> { [      semicolon,  colon, 0x1000A03   	]	};      key <AC11> { [      apostrophe, quotedbl  ]	};      key <BKSL> { [      backslash,  bar       ]	};      key <AB01> { [		  0x1000A21, 0x1000A22	]       };      key <AB02> { [      0x1000A1E, 0x1000A02, 0x1000A01  ]       };      key <AB03> { [      0x1000A1A, 0x1000A1B  ]       };      key <AB04> { [      0x1000A35             ]       };      key <AB05> { [      0x1000A2C, 0x1000A2D  ]       };      key <AB06> { [      0x1000A28, 0x1000A23  ]       };      key <AB07> { [      0x1000A2E             ]       };      key <AB08> { [      comma,     less       ]       };      key <AB09> { [      period,    greater    ]       };      key <AB10> { [      slash, question       ]       };};