You are not logged in.

#1 2013-05-04 22:57:42

brian
Member
Registered: 2009-08-03
Posts: 16

SCIM not working in VTE-based terminal emulator

I use SCIM for Chinese input. It works as expected in Firefox, but I can't switch modes in my VTE-based terminal emulator, termite (same problem in sakura).

Offline

#2 2013-05-05 00:43:54

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: SCIM not working in VTE-based terminal emulator

Oh my gosh, you are correct. I didn't believe you at first, but you are absolutely correct. My SCIM (Japanese) setup has worked for absolutely every application I've ever tried it in for the past three years, but some how, some way, the VTE developers managed to do something differently enough to completely break that functionality. yikes

Anyway, I can confirm that, like yours, my SCIM (Japanese, "scim-anthy") setup doesn't work with either termite or gnome-terminal.

Have you tried using "scim-bridge", as is mentioned here?

Offline

#3 2013-05-05 00:53:11

brian
Member
Registered: 2009-08-03
Posts: 16

Re: SCIM not working in VTE-based terminal emulator

The author of termite thinks it has something to do with GTK3. Witness the difference between the outputs of gtk-query-immodules-2.0 and gtk-query-immodules-3.0 (on my system, 2.0 has scim, 3.0 doesn't).

I found that reference to scim-bridge, but scim-bridge seems to have disappeared, so I didn't try it.

Offline

#4 2013-05-05 01:05:15

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: SCIM not working in VTE-based terminal emulator

Oh, I think you're right! I only have one GTK3 application installed right now, Transmission, and SCIM doesn't appear to work in it.

Do you have a link to a bug report?

EDIT: I can't access www.scim-im.org at the moment, but according to the blurb on the Google results page, they recently applied a patch to support GTK3 applications. There might be something special we need to do in order to enable it.

Last edited by drcouzelis (2013-05-05 01:09:03)

Offline

#5 2013-05-05 01:11:07

brian
Member
Registered: 2009-08-03
Posts: 16

Re: SCIM not working in VTE-based terminal emulator

No, I haven't found anyone else with this problem, and I haven't filed anything. I know there's a problem, but I don't know who, if anyone, is at fault.

One thing I feel may be significant is, when I built scim myself (downloading the PKGBUILD, using makepkg), I did end up with a /usr/lib/gtk-3.0/3.0.0/immodules/im-scim.so that I think isn't normally present; most people who install scim only have /usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so. It still doesn't work for me, but maybe scim could be built differently so it would work? A bug report on the Arch scim package is my best guess right now. What do you think?

Yeah, their page is down for me too. If I can reach it, and if they have some later source tarball, I'll try to build it and report back here.

Last edited by brian (2013-05-05 01:12:09)

Offline

#6 2013-05-05 01:36:56

brian
Member
Registered: 2009-08-03
Posts: 16

Re: SCIM not working in VTE-based terminal emulator

I already had the latest, 1.4.14. They say scim-bridge was added in this version, and I see some related stuff in the source tar, but no scim-bridge stuff is installed after build. There don't seem to be any configure flags related to scim-bridge.

Offline

#7 2013-05-05 02:04:50

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: SCIM not working in VTE-based terminal emulator

An Arch Linux bug report seems appropriate. If SCIM is supposed to have GTK3 support and the Arch Linux packages doesn't have GTK3 support, then it sounds like a packaging issues to me. hmm

If you could make an Arch Linux bug report for this that'd be great. smile

Offline

#8 2013-05-05 17:27:25

brian
Member
Registered: 2009-08-03
Posts: 16

Re: SCIM not working in VTE-based terminal emulator

Filed. Please let me know if something looks wrong. https://bugs.archlinux.org/task/35103

Offline

#9 2013-06-09 02:10:26

brian
Member
Registered: 2009-08-03
Posts: 16

Re: SCIM not working in VTE-based terminal emulator

I may have a fix for this issue.

As you know, if you get the scim PKGBUILD and build with gtk3 support, scim-setup refuses to start with "cannot register existing type `GtkWidget'". But if I pacman -R scim-pinyin (in my case), then scim-setup starts.

By getting the scim-pinyin PKGBUILD and building it myself, something is different about it, and scim-setup likes it. I'm able to enter Chinese in termite now!

I've put in a request to reopen the issue and when that happens, I'll repeat this information on the tracker.

Offline

Board footer

Powered by FluxBB