Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghost opened this issue Oct 18, 2021 · 12 comments
Open

Comments

@ghost
Copy link

ghost commented Oct 18, 2021

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
Copy link
Member

probonopd commented Oct 18, 2021

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!

@ghost
Copy link
Author

ghost commented Oct 19, 2021

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

@roired
Copy link

roired commented Dec 15, 2021

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
Copy link
Member

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
Copy link
Author

ghost commented Dec 17, 2021

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
Copy link
Member

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

@louies0623
Copy link

louies0623 commented Dec 20, 2021

Try ibus ,Try to see if it works.

@louies0623
Copy link

louies0623 commented Dec 11, 2022

@probonopd
ibus ghostBSD
image
Scim FreeBSD
image
Fcitx ghostBSD
image

@louies0623
Copy link

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
Copy link
Member

probonopd commented Jun 22, 2023

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
Copy link

louies0623 commented Jun 22, 2023

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
Copy link

louies0623 commented Aug 31, 2023

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants