I encountered an issue with the input method while using the compatibility layer.

It seems that I'm encountering a tricky issue while using the Ubuntu compatibility layer. I am a Chinese user, and if I only use English input, my input experience is flawless. However, I currently need to enable ibus and use ibus-libpinyin within the Ubuntu compatibility layer to ensure I can input Chinese in the simulated Linux applications. I know I can't use systemd to start the dbus service, so I used service dbus start and service dbus restart to enable the dbus service. Strangely, the dbus service did not start properly, and ibus-setup also indicated that the dbus service was not started. I executed the commands as the root user because when I execute commands as a regular user (under FreeBSD), I encounter insufficient permissions to start the compatibility layer, so I have to switch to sudo, which is no different from starting as the root user. If I add a regular user directly within the Linux compatibility layer, I encounter issues with not being able to connect to the X service, and a series of services fail to start. I heard that placing the compatibility layer in a regular user's directory allows it to be executed directly without sudo, but I have searched through all the information I could find and asked AI, and none could provide an accurate relocation solution.

I tried to solve it using the following tutorial:https://bsd.wiki/di-21-zhang-linux-...-jie-linux-jian-rong-ceng-ji-yu-ubuntudebian/

Successfully built an Ubuntu compatibility layer, enabling software like QQ and Edge to run, and even allowing music playback.
How should I solve this problem? It seems like no one online has had the same experience in solving this issue.
 
If I remember correctly, I started having issues with ibus (Japanese, not Chinese), around FreeBSD10. I have a page on Japanese input, which mainly focuses, in FreeBSD, on using fcitx5. However, when I did use ibus, user byuu (doesn't seem to be on the forums anymore), gave me a little script that I was able to use. But you're talking about Chinese input in Ubuntu, not FreeBSD, so don't know if it's applicable.

Judging from my experience with Japanese, I wouldn't think you need an Ubuntu layer to make it work. My page is at https://srobb.net/jpninpt.html#FreeBSD. There's also an Ubuntu section, but that's last updated in 2021 or so--and there, I used fcitx rather than ibus. At the time it was fcitx, not fcitx5, but fcitx is available for Ubuntu (and probably fcitx5 as well).

I don't know if it will help, but the gist of it is, use fcitx5 for your Chinese input.

I agree it's hard to find people with the same problem when looking for solutions for Asian language input. Especially when it involves something even more unusual, such as using it with a Linux layer.
 
Back
Top