A linux keyboard for typing Pāḷi and Sanskrit diacritics
ē ṛ ṭ ñ ū ī ō ā ś ḍ ṝ ḥ ḷ ḹ ṣ √ ṅ ṇ ṃ ŋ ṁ
- Copy the file
us
into/usr/share/X11/xkb/symbols
overwriting the existing file - Reboot
- Open system settings > keyboard > layouts
- Click '+' to add a language
- Search for English (US) and add it
- Now you can use a normal US keyboard layout and access Pāḷi and Sanskrit diacritics with the right-alt and shift right-alt keys
normal e r t y u i o a s d f h l ; z v b n m ,
shift E R T Y U I O A S D F H L : Z V B N M <
right-alt ā ṛ ṭ ñ ū ī o ā ś ḍ f ḥ ḷ ḹ ṣ √ ṅ ṇ ṃ ŋ
shift right-alt Ā Ṛ Ṭ Ñ Ū Ī O Ā § Ḍ F Ḥ Ḷ Ḹ Ṣ √ Ṅ Ṇ Ṃ Ŋ
- Copy the file
pi
into/usr/share/X11/xkb/symbols
- Navigate to
/usr/share/X11/xkb/rules
- Add the following lines of code above
</layoutList>
inevdev.xml
andbase.xml
<layout>
<configItem>
<name>pi</name>
<shortDescription>pli</shortDescription>
<description>Pali</description>
<languageList>
<iso639Id>pi</iso639Id>
</languageList>
</configItem>
<variantList/>
</layout>
- Reboot
- Open system settings > keyboard > layouts
- Click '+' to add a language
- Search for Pali and add it
- Now you can type Pāḷi and Sanskrit diacritics using the shift and shift right-alt keys.
normal e r t y u i o a s d f h l ; z v b n m , .
shift ē ṛ ṭ ñ ū ī ō ā ś ḍ ṝ ḥ ḷ ḹ ṣ √ ṅ ṇ ṃ ŋ ṁ
right-alt E R T Y U I O P § D F H L : Z V B N M < >
shift right-alt Ē Ṛ Ṭ Ñ û î ô â Ś Ḍ ê Ḥ Ḷ Ḹ Ṣ √ Ṅ Ṇ Ŋ
You can also customize the files to create your own ideal keyboard layout.