WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: "gtk.immodules" of TCL5 does not work  (Read 3368 times)

Offline BALLOON a.k.a. Fu-sen.

  • Newbie
  • *
  • Posts: 16
    • Tiny Core Linux - JP
"gtk.immodules" of TCL5 does not work
« on: January 30, 2014, 08:05:13 PM »
I perform Japanese translation in TCL of the new version(5.2).
Some Japanese indication succeeds.



I cannot perform Japanese indication by application of GTK.
After checking it in detail, I noticed that there were only "Simple" and "None" in Input Methods of GTK.



Some methods are displayed with version 4 here.
Movement of "gtk.immodules" seems to change with version 5.

Please give me what to do, support to operate "gtk.immodules" normally.
« Last Edit: January 31, 2014, 12:23:02 AM by BALLOON a.k.a. Fu-sen. »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: "gtk.immodules" of TCL5 does not work
« Reply #1 on: January 31, 2014, 12:45:33 AM »
Gtk2 or Gtk3?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline BALLOON a.k.a. Fu-sen.

  • Newbie
  • *
  • Posts: 16
    • Tiny Core Linux - JP
Re: "gtk.immodules" of TCL5 does not work
« Reply #2 on: January 31, 2014, 05:56:55 AM »
A problem occurrence in Gtk 2.
Possibly, in TCL5, is Gtk 3 set with precedence?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: "gtk.immodules" of TCL5 does not work
« Reply #3 on: January 31, 2014, 06:10:28 AM »
do you have both gtk2 and gtk3 loaded? If so, this might produce unexpected results

Offline BALLOON a.k.a. Fu-sen.

  • Newbie
  • *
  • Posts: 16
    • Tiny Core Linux - JP
Re: "gtk.immodules" of TCL5 does not work
« Reply #4 on: January 31, 2014, 06:44:13 AM »
No. It is only GTK2 to call in a package.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: "gtk.immodules" of TCL5 does not work
« Reply #5 on: January 31, 2014, 09:55:02 AM »
does running this command help:
Code: [Select]
# gtk-query-immodules-2.0 > /usr/local/etc/gtk-2.0/gtk.immodules

Offline BALLOON a.k.a. Fu-sen.

  • Newbie
  • *
  • Posts: 16
    • Tiny Core Linux - JP
Re: "gtk.immodules" of TCL5 does not work
« Reply #6 on: January 31, 2014, 07:24:45 PM »
does running this command help:
Code: [Select]
# gtk-query-immodules-2.0 > /usr/local/etc/gtk-2.0/gtk.immodules
In GTK2, this was carried out conventionally.
Input Method carried this out and did not work normally so far.

I discovered what these specifications changed from GTK 2.24.20:
Code: [Select]
# gtk-query-immodules-2.0 --update-cacheIt is necessary to carry it out in root authority definitely:
Code: [Select]
# sudo gtk-query-immodules-2.0 --update-cacheThe latest update of gtk2.tcz just fulfills this. (2013/07/12 Updated to 2.24.20)

I in this way solved this problem.
Input Method(example: fcitx) adds that I am careful about changing it,
and giving this response and promotes it.

The detailed information will be provided in follows:
https://fcitx-im.org/wiki/Input_method_related_environment_variables
« Last Edit: January 31, 2014, 07:30:53 PM by BALLOON a.k.a. Fu-sen. »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: "gtk.immodules" of TCL5 does not work
« Reply #7 on: February 01, 2014, 12:27:48 AM »
Please note that:

# = this command is run as root

$ = this command is run as user

To be sure I've understood, are you saying that both these commands need to be run (as root):
Code: [Select]
# gtk-query-immodules-2.0 > /usr/local/etc/gtk-2.0/gtk.immodules
# gtk-query-immodules-2.0 --update-cache
..before things work for you?

Offline BALLOON a.k.a. Fu-sen.

  • Newbie
  • *
  • Posts: 16
    • Tiny Core Linux - JP
Re: "gtk.immodules" of TCL5 does not work
« Reply #8 on: February 01, 2014, 02:04:04 AM »
This should be carried out in run as user by a package.
There are already the results by others by Japanese production about this neighborhood,
and I only update it. I do not do the unnecessary thing.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: "gtk.immodules" of TCL5 does not work
« Reply #9 on: February 01, 2014, 04:10:27 AM »
"gtk-query-immodules-2.0 --update-cache" added to gtk2 start-up script.

I'm not sure if you're using another extension or application, but I presume this command will need to be re-issued if your extension/application is loaded after gtk2