|
2010-11-02
, 06:28
|
Posts: 69 |
Thanked: 18 times |
Joined on Apr 2010
|
#12
|
Ok i think i fugured:
Create these:
And to swap run this:Code:Nokia-N900:~# cat /etc/gtk-2.0/gtk.immodules-vkb-ON "/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" "*" Nokia-N900:~# cat /etc/gtk-2.0/gtk.immodules-vkb-OFF "/usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so" "scim" "SCIM Input Method" "scim" "/usr/share/locale" "*" Nokia-N900:~# cat /etc/gtk-2.0/gtk.immodules.status 0
After restarting app, you input on, should workCode:Nokia-N900:~# cat imvk-swap.sh #!/bin/sh #/etc/gtk-2.0/gtk.immodules-vkb-OFF #/etc/gtk-2.0/gtk.immodules-vkb-ON VKBON=$(cat /etc/gtk-2.0/gtk.immodules.status) if [ "$VKBON" == "0" ] then echo 'Switching to ONBOARD...' cat /etc/gtk-2.0/gtk.immodules-vkb-ON > \ /etc/gtk-2.0/gtk.immodules echo '1' > /etc/gtk-2.0/gtk.immodules.status else echo 'Switching to PINYIN...' cat /etc/gtk-2.0/gtk.immodules-vkb-OFF > \ /etc/gtk-2.0/gtk.immodules echo '0' > /etc/gtk-2.0/gtk.immodules.status fi
|
2010-11-02
, 09:38
|
Posts: 13 |
Thanked: 8 times |
Joined on Oct 2010
@ Australia
|
#13
|
|
2010-11-02
, 10:09
|
Posts: 69 |
Thanked: 18 times |
Joined on Apr 2010
|
#14
|
Jukzh's script does work for mscim! Thanks a million!
When 'ONBOARD' is enabled, then auto-capitalisation and auto-completion is working. Also, and this is very valuable, Fn-Ctrl (Sym) brings up the symbol keyboard. However, I could not access the 'normal' alphabet keyboard.
What the script does not do is remove/stop the SCIM processes when 'ONBOARD' is enabled. Stopping SCIM, when not required, would be good for battery life...
|
2010-11-03
, 02:29
|
|
Posts: 66 |
Thanked: 77 times |
Joined on Jul 2010
@ intheclouds
|
#16
|
|
2010-11-03
, 03:06
|
Posts: 17 |
Thanked: 28 times |
Joined on Jul 2009
|
#17
|
|
2010-11-03
, 12:22
|
Posts: 69 |
Thanked: 18 times |
Joined on Apr 2010
|
#18
|
|
2011-05-11
, 15:54
|
Posts: 262 |
Thanked: 315 times |
Joined on Jun 2010
|
#19
|
http://www.mandarintools.com/worddict.html
and than copy/paste the chinese character. done. no battery drain from using mscim (powertop says it wakes up my device like 24 times)