Kalmyk/Keyboard

From LING073
Revision as of 22:20, 28 January 2017 by Slim1 (talk | contribs)

Jump to: navigation, search

The Kalmyk alphabet has 39 letters, with 33 letters of the Russian alphabet and 6 unique letters: Әә, Һһ, Җҗ, Ңң, Өө, and Үү.

Existing Resources

The Linux Kalmyk keyboard
  • Linux provides a Kalmyk keyboard. It is based on the Russian keyboard, as the six letters unique to Kalmyk are added on the number row.
  • This online keyboard lays out the letters in an alternative order, and doesn't relegate the "extra" letters to somewhere else, but is missing some letters and doesn't seem to make use of the third and fourth levels.

Justification

Linux Kalmyk keyboard

I chose to use Linux's Kalmyk keyboard. It has obvious drawbacks, such as having similar inconveniences as the Russian keyboard (ex. the comma and the colon being placed on the second level), and implying that Kalmyk is a derivative of Russian with "extra" letters. However, it is convenient because most speakers of Kamlyk are also fluent in Russian, and this keyboard allows them to type in both languages without switching keyboards. This layout was also added by the community. [1]

Extra Step: Phonetic Keyboard

Based on the Russian "phonetic" keyboard (which maps Cyrillic letters to English letters that most closely resemble their sounds), I created a Kalmyk phonetic keyboard. I modified the positions of some keys to provide room for the six Kalmyk letters and IPA symbols in order to avoid relegating them to the AE (top) row.

Explanation

The general guiding principles were to:

  • place the IPA symbols on the third level of the letter key
    • when impossible, place the IPA symbols on a key that is physically near
  • place the six Kalmyk letters on the same key as the letter most phonetically resembling them
  • move the least frequently used letters to the top row
  • to deviate as little from the English Latin keyboard as possible in terms of placing similar-sounding letters

The AB (fourth) row was configured the most, in order to create room for two Kalmyk characters and their IPA symbols while refraining from placing important punctuation marks on the second level.

Installation

  1. Download the tks file listed in my keyboard repo on github. You can click on the file, and the click raw, and save that, or you can simply use a terminal by typing something like wget https://raw.githubusercontent.com/jonorthwash/keyboards/master/xkb/tks.
  2. Put the tks file in /usr/share/X11/xkb/symbols. You can use the cp command to do it, and you'll probably need to use sudo too. E.g. sudo cp tks /usr/share/X11/xkb/symbols/
  3. Add a layout entry in the /usr/share/X11/xkb/rules/evdev.xml file for the layout. To do this, edit that file with your favourite text editor (again, you'll probably need sudo), and search for the end of the layoutList section by searching for </layoutList> in the file. Copy a simple layout block from above that line, paste it in as a new layout block (between the last </layout> and </layoutList>and modify it for this layout. You can use something like this:
        <layout>
          <configItem>
            <name>tks</name>
            <shortDescription>tks</shortDescription>
            <description>Jonathan's Turkic and IPA layout</description>
            <languageList><iso639Id>eng</iso639Id><iso639Id>tur</iso639Id></languageList>
          </configItem>
        </layout>
    
  4. Save the file, exit the editor, and restart cinnamon. The quickest way to do this is to run cinnamon --replace on the command line.
  5. Go back to your keyboard layout settings, and you should be able to find the layout under "Jonathan's Turkic and IPA layout" in the list.
  6. License

    This keyboard is licensed under an MIT license.