Problem with using SKIM in KDE/QT applications

Hi all,

I’ve installed SKIM in order to use Japanese as a secondary language on system (which is running with English as the primary language), and I’m having this annoying little problem with KDE/QT applications, esp. Kontact:

The input mode there is set to “scim-bridge”, which, for whatever reason, doesn’t allow me to use the HANKAKU key for switching to Japanese (I get an apostrophe ’ instead when I press the button; the same also for <alt>+<HANKAKU>). Things work fine, however, when I choose “scim” from the context menu, so I’d like to set this as the default IM. Unfortunately I’m unable to figure out how to do that.

Any ideas? :\

I’ve checked some relevant environment variables:

XMODIFIERS (=@im=SCIM)
QT_IM_MODULE (=scim-bridge)
GTK_IM_MODULE (=scim-bridge)

I’ve tried to set QT_IM_MODULE and GTK_IM_MODULE to “scim”, but this didn’t change anything, and the variables were set back to “scim-bridge” upon reboot … :frowning:

Things work fine in GTK applications like Firefox and OpenOffice.org, by the way.


My work environment:

** HARDWARE **
Laptop: Panasonic Let’s Note CF-Y2

** SOFTWARE **
KDE: 3.5.9 “release 49.1”
OS: openSUSE 11.0 (i586)
Kernel: Linux 2.6.25.9-0.2-pae i686

rpm -qa | grep scim
scim-canna-1.0.0-203.1
mlterm-scim-2.9.3.20071112-83.1
scim-bridge-qt-0.4.14-62.1
skim-scim-skk-0.5.2.1-214.1
scim-m17n-0.2.2-174.1
scim-anthy-1.2.4-133.1
scim-1.4.7-120.1
scim-tomoe-0.5.0-119.1
scim-qtimm-0.9.4-220.1
scim-bridge-0.4.14-62.1
skim-scim-anthy-1.2.2-163.1
scim-skk-0.5.2-236.1
scim-bridge-gtk-0.4.14-62.1
skim-scim-canna-1.0.0-213.1
scim-input-pad-0.1.1-222.1
scim-uim-0.2.0-136.1

Ok, I solved this issue. The KDE applications work fine (i.e. as expected) when the environmental variables above are set to “scim”. Check this threat here for advice on how to achieve this:

Where are environmental variables like XMODIFIERS set? - openSUSE Forums

Cheers,

homoludens