View Single Post
Stskeeps's Avatar
Posts: 1,671 | Thanked: 11,478 times | Joined on Jun 2008 @ Warsaw, Poland
#19
Decided to throw this one in with the challenges as it's quite useful if it works properly - and me and qwerty12 has done some work on it - thanks to n3x for the idea.

http://www.internettablettalk.com/fo...5&postcount=13 - getting hildon-input-method to work in Deblet.

A very bad screenshot - it might work better in matchbox - but this is activated by touching the text field as on Maemo, with no hildon environment running.



http://bsd.tspre.org/~stskeeps/nit-d...hod-framework/ for the ported packages from Ubuntu Mobile

Files edited to get this to work:

stskeeps@Nokia-N800-51-3:/etc/gtk-2.0$ cat gtk.immodules
# GTK+ Input Method Modules file
# Automatically generated file, do not edit
# Created by gtk-query-immodules-2.0 from gtk+-2.12.11
#
# ModulesPath = /root/.gtk-2.0/2.10.0/arm-unknown-linux-gnueabi/immodules:/root/.gtk-2.0/2.10.0/immodules:/root/.gtk-2.0/arm-unknown-linux-gnueabi/immodules:/root/.gtk-2.0/immodules:/usr/lib/gtk-2.0/2.10.0/arm-unknown-linux-gnueabi/immodules:/usr/lib/gtk-2.0/2.10.0/immodules:/usr/lib/gtk-2.0/arm-unknown-linux-gnueabi/immodules:/usr/lib/gtk-2.0/immodules
#
"/usr/lib/gtk-2.0/2.10.0/immodules/hildon-im-module.so"
"hildon-input-method" "Hildon Input Method" "hildon-input-method-framework" "/usr/share/locale" "*"

--EOF

Make hildon-input-method run in the background when GTK has started.

$ hildon-im-recache

$ gconftool-2 -s /apps/osso/inputmethod/input_method_plugin -t string himExample_vkb

So, I guess the challenge is to make this into something useful so we don't have to use MB for atleast GTK applications. Or QT (there's a IM plugin for that too). And I have an idea for how to make H-I-M work for normal X applications too.

https://code.launchpad.net/~ubuntu-mobile is where all packages are fetchable from using bzr - it's a matter of dpkg-buildpackage them and getting build dependancies. But the -example one is probably the most interesting to hack to work in normal WMs.

http://live.gnome.org/Hildon/HildonInputMethod/Theme is also interesting.
__________________
As you go on to other communities, remember to build them around politeness, respect, trust and humility. Be wary of poisonous people and deal with them before they end up killing your community.. Seen it happen to too many IRC channels, forums, open source projects.

Last edited by Stskeeps; 2008-09-07 at 20:37.
 

The Following 3 Users Say Thank You to Stskeeps For This Useful Post: