GithubHelp home page GithubHelp logo

Install and config the fcitx5/fcitx5-rime/rime as the Chinese characters input method engine in Dockerfile. about dockerfile-x11docker-deepin HOT 5 CLOSED

mviereck avatar mviereck commented on June 20, 2024
Install and config the fcitx5/fcitx5-rime/rime as the Chinese characters input method engine in Dockerfile.

from dockerfile-x11docker-deepin.

Comments (5)

mviereck avatar mviereck commented on June 20, 2024

Beside the version number the difference is DEFAULT=. I don't know if or where this makes a difference in practice. The documentation of fcitx might help.

from dockerfile-x11docker-deepin.

hongyi-zhao avatar hongyi-zhao commented on June 20, 2024

BTW, I suggest upgrade to fctix5 and using the rime input method engine for Chinese characters input which is more efficient and safe -- It works entirely based on local data rather than the cloud. The librime, fcitx5, fcitx5-rime, and plum are needed for using it.

This input method seems complex at the first glimpse, but it's really the most powerful, elegant and efficient one among all Chinese IMs.

To be frank, it's really complex to some extent, but I and all the people selected this IM think so. OTOH, just like emacs, you can customize all the stuff if you like.

Regards,
HY

from dockerfile-x11docker-deepin.

mviereck avatar mviereck commented on June 20, 2024

For x11docker/deepin I prefer to stick with the default fcitx method that ships with deepin, just to stay close to the dde distribution.

If you like to, you could explore some input methods and write a general article comparing their advantages and disadvantages and about how to set them up in containers.

Especially it would be of interest how to set up fcitx/fcitx5 with cli commands only. That would help to automatize the setup. I once had a look at this, but has been very confused and finally was happy to get fcitx working at all.

That would be useful for other containers than x11docker/deepin, too. Compare mviereck/x11docker#269

from dockerfile-x11docker-deepin.

hongyi-zhao avatar hongyi-zhao commented on June 20, 2024

As far as fcitx5 and rime are concerned, there are so many dependencies. The author of the fcitx5 has a project based on flatpack for this purpose. I myself am still struggling with its local installation and configuration.

Among all the dependencies, one of the most tricky things is the version of qt5 which doesn't match the version shipped with Ubuntu 20.04. Besides, there are still so many tricky installation steps. See here for some pertinent discussion.

And the following website is for dealing with the above mentioned complicated packages dependencies problem utilizing/leveraging the power of flatpack:

https://flatpak.fcitx-im.org/

from dockerfile-x11docker-deepin.

hongyi-zhao avatar hongyi-zhao commented on June 20, 2024

Follow-up report: I've successfully figured out the compilation procedure of all the necessary packages required by fcitx5/fcitx5-rime. But to be frank, it's rather complicated, and maybe not so suitable for implementation in Dockerfile.

from dockerfile-x11docker-deepin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.