Monday, September 13, 2010

GEnerate gsoap

gcc -o iplookup iplookup.c soapC.c soapClient.c -L/usr/local/lib - lgsoap -lm -lsocket -lnsl

gcc test.c soapC.c -lgsoap
works for me

Thursday, September 9, 2010

How to make Virtual keyboard and SCIM co-exist on N900

(1) Install MSCIM and whatever input methods you want
(2) Go to /etc/gtk-2.0/, create two files as follows

first file: vb (for Virtual Keyboard)

"hildon-input-method" "Hildon Input Method" "hildon-input-method-framework" "/usr/share/locale" "*"

Second file: scim (for MSCIM)

"scim" "SCIM Input Method" "scim" "/usr/share/locale" "*"

(3) in the same directory, create another two files:

first file:

cp /etc/gtk-2.0/vb /etc/gtk-2.0/gtk.immodules

second file:

cp /etc/gtk-2.0/scim /etc/gtk-2.0/gtk.immodules

then chmod to these two files

>>chmod +x

(4) make two symbolic links in /usr/bin/

ln -s /etc/gtk-2.0/ /usr/bin/vb
ln -s /etc/gtk-2.0/ /usr/bin/scim

(5) if you want to use virtual keyboard, remember to retract the physical keyboard first, then type in


if you want to use MSCIM: