docs icon indicating copy to clipboard operation
docs copied to clipboard

Tutorial: How to configure Ibus or fcitx input method for HelloSystem?

Open ghost opened this issue 4 years ago • 12 comments

Hello, current i am linux user. i am good at using ubuntu . I would like to try HelloSystem, install it on my laptop. I am trying to figure out how to setup a chinese input method. I often told we can using Ibus or Fcitx. How to set up it on HelloSystem. Need some document to description us how to do it ,thanks.

ghost avatar Oct 18 '21 01:10 ghost

Hello @cnmade.

I have never used Ibus or Fcitx. I don't really understand how to test them. Lookging at the documentation, the following could work:

Run

sudo pkg install fcitx5-qt
desktop2app /usr/local/share/applications/fcitx5-configtool.desktop /Applications/Preferences
  • Now you can run System -> Applications -> Preferences -> Fcitx 5 Configuration
  • In the search box, search for "Chinese"
  • Double click on the one you want. It should appear on the left
  • On the left, select the one you want and press the "up" button so that it appears as the first in the list

I don't know what needs to be done then. Maybe you can test it.

The documentation also says:

Remember to set the environment variable XMODIFIERS:

        csh/tcsh:       setenv XMODIFIERS @im=fcitx
        sh/bash:        export XMODIFIERS='@im=fcitx'

For GTK+ programs, you may want to set:

        csh/tcsh:       setenv GTK_IM_MODULE fcitx/xim
        sh/bash:        export GTK_IM_MODULE=fcitx/xim

For Qt programs, you may want to set:

        csh/tcsh:       setenv QT_IM_MODULE fcitx
        sh/bash:        export QT_IM_MODULE=fcitx

Please let me know how your experiments go. Perhaps we can include it by default in helloSystem. Thanks!

probonopd avatar Oct 18 '21 16:10 probonopd

Thanks for your tips, i will try on latest Hello iso

ghost avatar Oct 19 '21 00:10 ghost

Good day,

I need to try this too. Multilanguage input is a must in my case (chinese, russian, latin). If fcitx works, I certainly think that should be included by default.

Will report outcome. Regards, RR

roired avatar Dec 15 '21 12:12 roired

Can you please give Fcitx a try, see whether it works, and maybe suggest a default configuration? I have never actually used since I don't speak languages that require it.

Thanks for testing.

probonopd avatar Dec 16 '21 18:12 probonopd

I tried in latest testing iso. fcitx can be installed, but never works. I did ever thing tried.

Snipaste_2021-12-17_14-59-50

IME can not grab the input window. i also set up the ~/.shrc and ~/.zshrc

export XMODIFIERS='@im=fcitx'
export GTK_IM_MODULE=fcitx/xim

export QT_IM_MODULE=fcitx

ghost avatar Dec 17 '21 07:12 ghost

Sorry to hear that. Does it work better on other FreeBSD based systems?

probonopd avatar Dec 18 '21 10:12 probonopd

Try ibus ,Try to see if it works.

louies0623 avatar Dec 20 '21 16:12 louies0623

@probonopd ibus ghostBSD image Scim FreeBSD image Fcitx ghostBSD image

louies0623 avatar Dec 11 '22 15:12 louies0623

Sorry to hear that. Does it work better on other FreeBSD based systems?

I'm too lazy to install, so I went to find a picture to see, it's all in normal use.

louies0623 avatar Dec 11 '22 15:12 louies0623

Since I don't speak Chinese I don't know how this needs to work. But if someone can give me the exact steps how to install/preconfigure an easy Qt (not Gtk!) based solution, I'd be happy to include it.

Ideally the user should not have to configure anything, just select "Chinese". Possible?

Thanks.

probonopd avatar Jun 22 '23 16:06 probonopd

https://github.com/ibus/ibus-qt

Ideally the user should not have to configure anything, just select "Chinese". Possible?

You have to face reality.

image image image

louies0623 avatar Jun 22 '23 22:06 louies0623

@probonopd Chinese is not what you are used to. Only 26 letters can be put together to form a single word.

  1. Bopomofo image

  2. Pinyin input image

  3. Cangjie input image

louies0623 avatar Aug 31 '23 04:08 louies0623