Mer/Documentation/Hildon Input Method: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
imported>amigadave
imported>amigadave
{{Mer}}
 
Line 1: Line 1:
{{Mer}}
There is limited documentation on how to use this.
There is limited documentation on how to use this.


Line 4: Line 6:


Basic structure:
Basic structure:
<pre>
<source lang="xml">
<him-arabic>
<him-arabic>
   <layout mode="0"> (0 meaning shift not pressed, 1 means shift pressed)
   <layout mode="0"> (0 meaning shift not pressed, 1 means shift pressed)
Line 14: Line 16:
   Make both a shift not pressed and shift pressed layout.
   Make both a shift not pressed and shift pressed layout.
</him-arabic>
</him-arabic>
</pre>
</source>


The relationship between an XML file (eg fi.xml) and a language (eg fi_FI) seems unknown at the moment.
The relationship between an XML file (eg fi.xml) and a language (eg fi_FI) seems unknown at the moment.
Line 24: Line 26:
  gconftool-2 -s -t string /apps/osso/inputmethod/hildon-im-languages/language-1 fi_FI
  gconftool-2 -s -t string /apps/osso/inputmethod/hildon-im-languages/language-1 fi_FI
  gconftool-2 -s -t int /apps/osso/inputmethod/hildon-im-languages/current 1
  gconftool-2 -s -t int /apps/osso/inputmethod/hildon-im-languages/current 1
[[Category:Mer]]

Latest revision as of 09:37, 22 September 2010

Mer is back : Please visit http://www.merproject.org to learn more about this news.


There is limited documentation on how to use this.

see : http://talk.maemo.org/showthread.php?t=29310

Basic structure: <source lang="xml"> <him-arabic>

 <layout mode="0"> (0 meaning shift not pressed, 1 means shift pressed)
   <row> repeat these elements per row you want
     <key name="character" expand="1 if it should expand and fill - look at the space button in the image, 0 otherwise" />
     Add as many keys as needed in the row
   </row>
 <layout>
 Make both a shift not pressed and shift pressed layout.

</him-arabic> </source>

The relationship between an XML file (eg fi.xml) and a language (eg fi_FI) seems unknown at the moment.

Matan has this working:

cp fi.xml.txt /usr/share/him-arabic/fi.xml
him-arabic-register fi_FI
gconftool-2 -s -t bool /apps/osso/inputmethod/hildon-im-languages/fi_FI/word-completion false
gconftool-2 -s -t string /apps/osso/inputmethod/hildon-im-languages/language-1 fi_FI
gconftool-2 -s -t int /apps/osso/inputmethod/hildon-im-languages/current 1