Solved question about ibus chinese input in libreoffice at awesome of freebsd14.2 ?

Dear all:
now , i have used awesome GUI desktop . yeah, same time , i need to input chinese word in libreoffice and installed zh-ibus-pinyin inputing mothed in freebsd14.2 ..
all chinese word input work normal except libreoffice... i have input chinese word in chromium, gedit. termial....etc.....but when i input chinese word in libreoffice.. that was failed.... do you know why , or some solution ? thanks. please help me.
 
Hi, again, my answer worked with Japanese, not Chinese, but it *seemed* to be an issue with qt5. Again, this is with fcitx5. I had to install fcitx5-qt5. I don't see a qt5 package for ibus though. (Are you using ibus, as mentioned in your other thread, or did you try fcitx5?)
 
Hi, again, my answer worked with Japanese, not Chinese, but it *seemed* to be an issue with qt5. Again, this is with fcitx5. I had to install fcitx5-qt5. I don't see a qt5 package for ibus though. (Are you using ibus, as mentioned in your other thread, or did you try fcitx5?)
Dear scottro:
thanks for your help. i have try fcitx5 in awesome GUI . still not input chinese word in libreoffice.. thanks. have a good day.
 
你好,可以参考 https://book.bsdcn.org/di-5-zhang-zhong-wen-huan-jing-pei-zhi/di-5.3-jie-ibus-shu-ru-fa-kuang-jia

1748615870319.png
 
Dear ykla :
thanks for your help . 感谢。。我已经按照下面方法解决问题。
problem was solved with 2 way to go.. thanks for all . below was sulotion.
1...way:
1. pkg install zh-ibus-pinyin
2. add below content at end of your bash profile (~/.profile)
#custom define chinese input mothed
export XIM=ibus
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export XIM_PROGRAM="ibus-daemon"
export XIM_ARGS="--daemonize --xim"

2....way: this is best way fellow ibus guide..
$echo $SHELL
sh

NOte: sh shell configure was ~/.shrc ...it's not .cshrc ..
$ pkg info -D ibus
ibus-1.5.31_1:On install:
ibus installation finished. To use ibus, please do the following:

If you are using bash, please add following lines to your $HOME/.bashrc:
NOTE: so here was wrong , we will not find .bashrc file ..it's must $HOME/.shrc
so add below in this file . the problem will solve...

export XIM=ibus
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export XIM_PROGRAM="ibus-daemon"
export XIM_ARGS="--daemonize --xim"



thanks for all T-Aoki
 
Just a note for bash users. To get FreeBSD's bash to see ~/.bashrc, I had to create a ~/.bash_profile that just read
Code:
source ~/.bashrc
Then, I was able to put my variables in .bashrc. (For me, I put the variables in ~/.xinitrc, and when using wayland, in ~/.config/labwc/environment, as I only use Japanese in a GUI these days).
 
Just a note for bash users. To get FreeBSD's bash to see ~/.bashrc, I had to create a ~/.bash_profile that just read
Code:
source ~/.bashrc
Then, I was able to put my variables in .bashrc. (For me, I put the variables in ~/.xinitrc, and when using wayland, in ~/.config/labwc/environment, as I only use Japanese in a GUI these days).
Dear scottro :
can i use wayland for awesome ?
now , i have used xorg + awesome for GUI desktop .
can we use wayland +awesome ? or wayland + some wm ??thanks.
 
Back
Top