Skip to content

A Linux keyboard for typing Pāḷi and Sanskrit diactrics using the shift key ēṛṭñūīōāśḍṝḥḷḹṣ√ṅṇṃŋṁ

Notifications You must be signed in to change notification settings

bdhrs/pali-sanksrit-keyboard-for-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Pāḷi and Sanskrit keyboard for Linux

A linux keyboard for typing Pāḷi and Sanskrit diacritics

ē ṛ ṭ ñ ū ī ō ā ś ḍ ṝ ḥ ḷ ḹ ṣ √ ṅ ṇ ṃ ŋ ṁ

English (US) keyboard layout

  1. Copy the file us into /usr/share/X11/xkb/symbols overwriting the existing file
  2. Reboot
  3. Open system settings > keyboard > layouts
  4. Click '+' to add a language
  5. Search for English (US) and add it
  6. 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 Ḥ Ḷ Ḹ Ṣ √ Ṅ Ṇ Ṃ Ŋ  

Pali keyboard layout

  1. Copy the file pi into /usr/share/X11/xkb/symbols
  2. Navigate to /usr/share/X11/xkb/rules
  3. Add the following lines of code above </layoutList> in evdev.xml and base.xml
<layout>
      <configItem>
        <name>pi</name>
        <shortDescription>pli</shortDescription>
        <description>Pali</description>
        <languageList>
          <iso639Id>pi</iso639Id>
        </languageList>
      </configItem>
      <variantList/>
</layout>
  1. Reboot
  2. Open system settings > keyboard > layouts
  3. Click '+' to add a language
  4. Search for Pali and add it
  5. 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 Ē Ṛ Ṭ Ñ û î ô â Ś Ḍ ê Ḥ Ḷ Ḹ Ṣ √ Ṅ Ṇ Ŋ      

Make your own

You can also customize the files to create your own ideal keyboard layout.

About

A Linux keyboard for typing Pāḷi and Sanskrit diactrics using the shift key ēṛṭñūīōāśḍṝḥḷḹṣ√ṅṇṃŋṁ

Resources

Stars

Watchers

Forks