ibus (Chinese) input cannot work in firefox

Forum Forums General Software ibus (Chinese) input cannot work in firefox

Tagged: 

  • This topic has 5 replies, 3 voices, and was last updated Jun 27-7:20 am by symbol.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #85224
    Member
    symbol

      Hi, I am using ibus for multi-language input control: (I installed ibus ibus-pinyin and ibus-gtk and run ibus-deamon on startup)

      sudo apt install ibus ibus-gtk ibus-pinyin
      ibus-daemon -drx

      I found my ibus can work in ROXTerm and leafpad while it does not work in firefox or geany, does any knows how to fix this?

      #85230
      Member
      afghan
        Helpful
        Up
        1
        ::

        Try installing ibus-gtk3 also. You probably need ibus-data as well. Restart your session and try it.

        btw ibus-pinyin is deprecated according to the package description, and you should use ibus-libpinyin instead.

        • This reply was modified 10 months, 1 week ago by afghan.

        Beware of people who knows nothing; they are the ones that won't know that they know nothing.

        #85232
        Forum Admin
        anticapitalista
          Helpful
          Up
          1
          ::

          Perhaps you have to install some fonts?

          Philosophers have interpreted the world in many ways; the point is to change it.

          antiX with runit - leaner and meaner.

          #85234
          Member
          afghan
            Helpful
            Up
            1
            ::

            Perhaps you have to install some fonts?

            I think fonts doesn’t matter. The basic fonts should show the appropriate character for the corresponding input method selected.

            A few months ago ibus-gtk3 (for GTK3 apps) clashed with ibus-gtk (for GTK2 apps). Only ibus-gtk worked. Now it seems things has changed and you need ibus-gtk3 for some apps. They can both be installed to support various apps. I suppose it depends on whether the app was built with GTK2 or GTK3 libraries.

            Apps like Geany shows that it uses GTK+ which is actually GTK3. Other apps that says GTK means that it’s actually using GTK2. One of those numbering/versioning schemes that nobody could agree on I suppose.

            ありがとうございます。谢谢。

            • This reply was modified 10 months, 1 week ago by afghan.
            • This reply was modified 10 months, 1 week ago by afghan.

            Beware of people who knows nothing; they are the ones that won't know that they know nothing.

            #85277
            Member
            symbol
              Helpful
              Up
              0
              ::

              @afghan’s solution fixed my problem correctly! Thanks a lot!

              In sum I installed ibus, ibus-gtk3, ibus-libpinyin, ibus-data (and removed ibus-gtk, ibus-pinyin) As a result ibus works everywhere: firefox, thunderbird, geany etc.

              $ sudo apt list --installed | grep "ibus-gtk"
              WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
              ibus-gtk3/stable,now 1.5.23-2 amd64 [installed]
              $ sudo apt list --installed | grep "ibus-gtk3"
              WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
              ibus-gtk3/stable,now 1.5.23-2 amd64 [installed]
              $ sudo apt list --installed | grep "ibus-data"
              WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
              ibus-data/stable,stable,now 1.5.23-2 all [installed]
              yerong@yerong:~/Documents
              $ sudo apt list --installed | grep "ibus-libpinyin"
              WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
              ibus-libpinyin/stable,now 1.12.0-3 amd64 [installed]
              $ sudo apt list --installed | grep "ibus-pinyin"
              WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

              Try installing ibus-gtk3 also. You probably need ibus-data as well. Restart your session and try it.

              btw ibus-pinyin is deprecated according to the package description, and you should use ibus-libpinyin instead.

              • This reply was modified 10 months, 1 week ago by symbol. Reason: Reformat the code block
              #85279
              Member
              symbol
                Helpful
                Up
                0
                ::

                I did not install any fonts. I only installed

                ibus
                ibus-gtk3
                ibus-libpinyin
                ibus-data

                Perhaps you have to install some fonts?

              Viewing 6 posts - 1 through 6 (of 6 total)
              • You must be logged in to reply to this topic.