ubuntu-desktop icon indicating copy to clipboard operation
ubuntu-desktop copied to clipboard

How about add fcitx or fcitx5

Open inkroomtemp opened this issue 1 year ago • 4 comments

I am a Chinese, and I need the input method.

I try to install the sogou, but it not work, and I don't know why.

inkroomtemp avatar Dec 25 '24 08:12 inkroomtemp

I will add fcitx5 to the Dockerfile. Please let me know if that works for you. I have no way to test alternate keyboard layouts or input methods.

Fullaxx avatar Dec 25 '24 11:12 Fullaxx

It's not work, only install fcitx5.

I have tried this way before.

apt install -y fcitx5 fcitx5-chinese-addons

and the Chinese font

apt install -y fonts-wqy-zenhei

echo "LC_ALL=zh_CN.UTF-8" >> /etc/environment && \
    echo "LANG=zh_CN.UTF-8" > /etc/locale.conf && \
    echo "zh_CN.UTF-8 UTF-8" >> /etc/locale.gen && \
    locale-gen

I add the Chinese input method like "拼音" on the fcitx5-conf dialog, then I open the firefox, terminal, and tried to input Chinese. there are no input method dialog on the window.

4ffb9486aefb0c7ca6e665e5179aadbe 10d18a597e446bd64b9b4a9468b1b62d

maybe I have not active the input method dialog, Could you input English by input method ?

This is not a big issue, I can also use English if fcitx5 is not work.

inkroomtemp avatar Dec 27 '24 03:12 inkroomtemp

I have re-opened this issue, as I need to give this more thought. I started a branch called chinese-input, but in the end I would like a solution that is a bit more generic or configurable to more input methods/languages. Sadly, I know almost nothing about different input method types.

For now, can you build and test this branch? I have added all the above requests and a menu item seen in the picture.

FCITX

Fullaxx avatar Dec 27 '24 18:12 Fullaxx

I saw the dbus-launch fcitx5-config-qt, but every time I open the config dialog, It will show this.

image

close the dialog, and it will be show at the next open.

So, I have try to start fcitx5 manually. like execute fcitx5 or dbus-launch fcitx5 on the terminal, not work both.


The second problem is that the Global Options is nothing. usually , If the fcitx5 is running, then reopen the config dialog, it will normally show.


Kapture 2024-12-30 at 14 01 27

inkroomtemp avatar Dec 30 '24 06:12 inkroomtemp