hmmm ... strangely, it seem to work, as in it blanks the screen but does not do anything.
Occassionally, home+key do not work altogether.
btw, my script ime.sh is as below
(I created a empty file at /home/tmp/ime_off)
#!/bin/sh
if [ -f /home/tmp/ime_on ]; then
qcop QPE/TaskBar 'hideInputMethod()'
mv /home/tmp/ime_on /home/tmp/ime_off
else
qcop QPE/TaskBar 'showInputMethod()'
mv /home/tmp/ime_off /home/tmp/ime_on
fi