Announcement

Collapse
No announcement yet.

Japanese input method

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Japanese input method

    I'm struggling to get Anthy working to get Japanese input. I've tried looking around for help but each version of [K]ubuntu seems to have its own quirks.

    So far I've done:

    1. apt-get install ibus-anthy
    apt-get install ibus-gtk

    2. system settings>locale>system languages and installed Japanese. I had to click the "Translations" component to do this, but the "input methods" box was greyed out. Then on set system language I chose English (Australia) and set ibus as Keyboard input method.

    3. I ran ibus-setup and added Japanese - Anthy -- very cryptic to do -- only managed thanks to this thread http://www.kubuntuforums.net/showthr...ecise-Pangolin

    Now I can type control+space to enable/disable japanese input. I can type in english letters (romaji) to input phonetic script (hiragana), and when I hit the space bar it takes me through the kanji options.

    The problem is that it's only barely usable. In my previous Kubuntu installation (11 point something), it would pop up a menu where I could flip through possibilities 10 at a time instead of 1 at a time. And nothing appears on the system tray.

    I've gone to ibus-setup and I've selected "show language panel always" and "show icon on system tray" but nothing appears on the system tray. Does anyone know what to do?

    #2
    In ibus-settings, select "Show Language Panel: Enbeded in Menu" and then "Show Icon on System Tray." Also be sure that "Embed preedit text in application window" and both options under the Advanced tab are selected. Does that work? With these settings, I can get the menu icon in the taskbar and have 10 kanji options to choose from when I press space twice.

    Comment


      #3
      I set the options like you said but I still don't get anything on the task bar. Nor do I get any kanji options popping up. Pressing space multiple times just cycles through the options.

      I found the following that applied to an older version of Kubuntu:
      * vi ~/xsessionrc and add the lines:
      export GTK_IM_MODULE=ibus
      export XMODIFIERS="@im=ibus"
      export QT_IM_MODULE=ibus
      * echo "ibus-daemon -d -x -r -n kde" > $HOME/.kde/Autostart/ibus-daemon-autostart.sh
      * chmod +x $HOME/.kde/Autostart/ibus-daemon-autostart.sh
      * Restart (sudo init 6)
      I have no idea what this does, but do you think I should do this?

      Comment


        #4
        The icon should come up in the system tray, not task bar...do you have a system tray in your panel?

        Ive got to run now, but when I get back home Ill play around and see if I can figure out your kanji selection problem.

        Comment


          #5
          I think your problem might be that you installed ibus-gtk rather than just ibus. Id purge ibus-gtk and ibus-anthy and start again.

          sudo apt-get purge ibus-gtk
          sudo apt-get purge ibus-anthy
          sudo apt-get autoremove

          sudo apt-get install ibus
          sudo apt-get install ibus-anthy

          Then do what you did before as far as setting it up and lets see what happens.
          Last edited by whatthefunk; Sep 14, 2012, 11:42 PM. Reason: Fixing errors

          Comment


            #6
            I tried the first three commands and they seemed to work
            Code:
            sudo apt-get purge ibus-gtk
            sudo apt-get purge ibus-anthy
            sudo apt-get autoremove
            Then I tried the fourth command
            Code:
            sudo apt-get ibus
            and I get this error
            E: Invalid operation ibus
            I tried rebooting but that didn't help.
            Naturally I have no Japanese input at all now :-(

            I also got a message when I logged back in. I have no idea what it means but just in case it's relevant...
            The application KNetAttach has closed unexpectedly.

            Comment


              #7
              sudo apt-get install name_of_package
              Windows no longer obstructs my view.
              Using Kubuntu Linux since March 23, 2007.
              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

              Comment


                #8
                Originally posted by Snowhog View Post
                sudo apt-get install name_of_package
                Doh!!! My bad! Sorry about that Raichu! Fixing original post.

                Comment


                  #9
                  Ah, not just you, I should have had my wits about me too. Too obvious a mistake to realize what it was! Thanks snowhog!

                  Anyway, I'll try it again and see how I go this time.



                  UPDATE:
                  tried it out but no luck.
                  ibus settings were as they were before.
                  exactly same behaviour. I get ひらがな input and 仮名 to 漢字 conversion like you see, but no pop-up to let me choose the words I want and nothing Anthy-related in the system tray that I can see.

                  I had a look at the system tray options and I could find nothing odd there apart from a message saying
                  The Akonadi server has been stopped, Akonadi related applications can no longer be used
                  Do you think that's relevant?
                  Last edited by Raichu; Sep 15, 2012, 01:44 AM.

                  Comment

                  Working...
                  X