Thursday, January 10, 2013

Restart SCIM on Debian Linux

I used SCIM to input Chinese, Japanese and Korean characters.

System -> Preferences -> SCIM Input Method Setup
-> IMEngine -> Global Setup -> (check the boxes)
-> Apply -> OK

I saw this:

Not all configuration can be reloaded on the fly. Don't forget to
   restart SCIM in order to let all of the new configuration take effect.

  
To restart SCIM, I typed:
su
ps -ef | grep scim



I saw:
user_name      2965     1  0 08:47 ?        00:00:00 /usr/lib/scim-1.0/scim-launcher -d -c simple -e all -f socket --no-stay
user_name      2969     1  0 08:47 ?        00:00:00 /usr/lib/scim-1.0/scim-helper-manager
user_name      2970     1  0 08:47 ?        00:00:01 /usr/lib/scim-1.0/scim-panel-gtk --display :0.0 -c socket -d --no-stay
user_name     
2972     1  0 08:47 ?        00:00:02 /usr/lib/scim-1.0/scim-launcher -d -c socket -e socket -f x11
user_name      3547  2867  0 09:09 pts/0    00:00:00 grep scim


I typed: (This really depended on the actual number.)
kill 2972

scim -d
I saw:
Smart Common Input Method 1.4.9

Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading x11 FrontEnd module ...
GTK Panel of SCIM 1.4.9

Starting SCIM as daemon ...
SCIM has been successfully launched.

Without restarting the computer (wasting more than one minute), I could use SCIM at the latest settings.

Reference:
http://www.linuxquestions.org/questions/linux-software-2/how-to-restart-scim-only-in-ubuntu-6-06-lts-545138/

No comments: