Difference between revisions of "Dhivehi/Keyboard"

From LING073
Jump to: navigation, search
(Installation)
(Installation)
Line 38: Line 38:
 
# Run: <code>xfwm4 --replace && xfce4-panel -r &</code>  
 
# Run: <code>xfwm4 --replace && xfce4-panel -r &</code>  
 
#:- If you don't see a language icon on the panel of your home screen, right click the edge of the panel. Click "Add new items" and add "notification area."
 
#:- If you don't see a language icon on the panel of your home screen, right click the edge of the panel. Click "Add new items" and add "notification area."
# Go back to the terminal and make by typing:
+
# Go back to the terminal and create this directory:
 
#:  <code> mkdir ~/.m17n.d/</code>
 
#:  <code> mkdir ~/.m17n.d/</code>
 
# Go to the [https://github.swarthmore.edu/Ling073-sp19/ling073-div-keyboard Git Repository for Dhivehi Keyboard] and download <code>dv-typewriter.mim</code>. Put this file in the <code>~/.m17n.d/</code> directory.
 
# Go to the [https://github.swarthmore.edu/Ling073-sp19/ling073-div-keyboard Git Repository for Dhivehi Keyboard] and download <code>dv-typewriter.mim</code>. Put this file in the <code>~/.m17n.d/</code> directory.

Revision as of 15:45, 1 February 2019

Existing Resources

There are existing keyboard layouts for Windows, Android, iOS, and Linux.

The phonetic Dhivehi keyboard layout is available in:

  1. Windows
  2. Android
  3. iOS
  4. Linux: IBUS with m17n module
  5. A Neat Visual of the Phonetic Keyboard (see picture below)

Dv-phon.png


Besides the widely available phonetic keyboard, Windows also has a Dhivehi typewriter keyboard layout.

Dhivehi Typewriter Layout

~
`

!
1

@
2

#
3

$
4

%
5

^
6

&
7

*
8

(
9

)
0

_
-

+
=

       
×
ޫ

'
ޮ


ާ

/
ީ

:
ޭ

ޤ
ގ

ޜ
ރ

ޣ
މ

ޙ
ތ

ޙ
ހ

÷
ލ

{
[

}
]

        
<
ި

>
ު

.
ް

،
ަ

"
ެ

ޥ
ވ

ޢ
އ

ޘ
ނ

ޚ
ކ

ޡ
ފ

;
؛

           
ޖ
ޒ

ޕ
ޑ

ޏ
ސ

ޗ
ޔ

ޟ
ޅ

ޛ
ދ

ޝ
ބ

\
ށ

,
ޞ
ޓ

؟
ޯ

Justification

There are numerous sites hosting a Phonetic Dhivehi keyboard and there is a UNIX built-in layout. Microsoft implemented both a Phonetic and Typewriter layout for the language. We based our implementation of the Typewriter keyboard layout on the Window's Dhivehi Typewriter Layout and Branah.com's implementation. The two are the same in-terms of character placement (excluding Alt-keys), but the resolution of the visual of the Windows' layout made it hard to make-out characters.

We decided to implement the Dhivehi Typewriter keyboard layout because there is no existing typewriter layout available in Linux. We noticed that the Typewriter keyboard differs from the Phonetic keyboard in vowel and consonant placement. It seems as though the Typewriter keyboard places the vowels and punctuation marks on the left side of the keyboard with the consonants on the right. This might be more efficient for native-speakers/typists. Typing consonants and vowels back-to-back might be easier due to this placement. Hammer right, left, right, left.

We have only two Alt characters, and they are the semi-colon and the comma. We mapped these to the same keys on our standard US-keyboard layout, because these keys are unused in Dhivehi. They might be useful to an outsider, perhaps a non-Dhivehi speaker, so they remain on the keyboard.

Installation

For Linux:

  1. Install IBus and the m17n module. Open terminal and type the following:
    sudo apt-get install ibus-m17n
  2. Enable IBus as your default input method. Type the following in the terminal:
    im-config -n ibus
  3. Run: xfwm4 --replace && xfce4-panel -r &
    - If you don't see a language icon on the panel of your home screen, right click the edge of the panel. Click "Add new items" and add "notification area."
  4. Go back to the terminal and create this directory:
    mkdir ~/.m17n.d/
  5. Go to the Git Repository for Dhivehi Keyboard and download dv-typewriter.mim. Put this file in the ~/.m17n.d/ directory.
  6. Add Dhivehi Keyboard in IBus:
    - Right click the faint blue "en" and click "Restart".
    - Right click the faint blue "en" again and go to "Preference".
    - Navigate to "Input Method". Press "Add" and then "..."
    - Find Dhivehi and add "dv-typewriter"
  7. To switch between different input methods, right click the "en" on the panel of your home screen and select the keyboard you desire.

License

This keyboard is licensed with a GNU General Public License v3.0.