helloSystem / docs

This repository builds the documentation for hello
https://hellosystem.github.io/docs/
BSD 2-Clause "Simplified" License
20 stars 22 forks source link

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

Open ghost opened 3 years ago

ghost commented 3 years ago

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.

probonopd commented 3 years ago

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

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!

ghost commented 3 years ago

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

roired commented 2 years ago

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

probonopd commented 2 years ago

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.

ghost commented 2 years ago

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
probonopd commented 2 years ago

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

louies0623 commented 2 years ago

Try ibus ,Try to see if it works.

louies0623 commented 1 year ago

@probonopd ibus ghostBSD image Scim FreeBSD image Fcitx ghostBSD image

louies0623 commented 1 year ago

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.

probonopd commented 1 year ago

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.

louies0623 commented 1 year ago

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 commented 1 year ago

@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