[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Scim and iceweasel

On 05/07/10 07:51 AM, Sridhar M.A. wrote:
> My question, how can I make iceweasel, OO and other packages like
> inkscape to use scim as the default input method?

This is on Debian Testing, Intel 32 bit processor. I can use scim on my
KDE desktop without any problems ... almost. The only hiccup is that its
applet does not start when I log in. This gives an option of switching
to my last changed keyboard using CTRL+SPC only (since I cannot click on
an applet to select a different layout). I have to kill its gtk instance
which forces some auto restart in scim and the kde applet appears.

Example, right now I have the following processes. I do not have the
scim applet, but I can switch to the alternate layout using CTRL+SPC.
$> ps uax | grep scim
hs   2214  0.0  0.1   9964  1772 ?        Ss   Jul01   0:02
/usr/lib/scim-1.0/scim-launcher -d -c simple -e all -f socket --no-stay
hs   2218  0.0  0.0   6208   404 ?        Ss   Jul01   0:00
hs   2219  0.0  0.4  28844  5976 ?        Ssl  Jul01   1:15
/usr/lib/scim-1.0/scim-panel-gtk --display :0.0 -c socket -d --no-stay
hs   2221  0.0  0.0   9180   540 ?        Ss   Jul01   0:00
/usr/lib/scim-1.0/scim-launcher -d -c socket -e socket -f x11
hs  17527  0.0  0.0   3860   776 pts/6    S+   10:30   0:00 grep scim

Terminating gtk instance prompts the scim to give me its applet in KDE's
$> kill -TERM 2219

Now I can select whichever layout I want from the applet.

Now, all that is well and good, but I am no sure why gtk related
instance starts. So I poked around /etc files and found this:
$> cat /etc/scim/global
/SupportedUnicodeLocales = en_US.UTF-8
/DefaultPanelProgram = scim-panel-gtk
/DefaultConfigModule = simple
/DefaultSocketFrontEndAddress = local:/tmp/scim-socket-frontend
/DefaultSocketIMEngineAddress = local:/tmp/scim-socket-frontend
/DefaultSocketConfigAddress = local:/tmp/scim-socket-frontend
/DefaultPanelSocketAddress = local:/tmp/scim-panel-socket
/DefaultHelperManagerSocketAddress = local:/tmp/scim-helper-manager-socket
/DefaultSocketTimeout = 5000

Perhaps the default panel program is the responsible for it. I wonder
how to make it so that gtk related scim starts in Gnome but kde related
in KDE only.

Another thing that might matter is the following file:
$> cat ~/.scim/global
/DefaultKeyboardLayout = kconfig
/DisabledIMEngineFactories = IMEngine-M17N-am-sera, .... <and so on: all
the disabled layout in my scim applet>
/SupportedUnicodeLocales = en_CA.utf8,en_US.UTF-8,fr_FR.UTF-8



Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.

Reply to: