fcitx trong arch xfce4+xmonad

13 views
Skip to first unread message

maikhai

unread,
Oct 16, 2018, 4:17:38 AM10/16/18
to ArchLinux Việt Nam
Trong một bài post đã lâu (https://groups.google.com/d/topic/archlinuxvn/SxTAf_gj_RU/discussion) mình có ghi lại cài đặt fcitx và config, làm trên máy gõ tiếng Việt tốt. Nay xem lại thì thấy:

* Trong .xinitrc là
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
kết quả cũng gõ VNI được, nhưng khi chạy fcitx-diagnose thì output có nhiều dòng màu đỏ.

Làm theo yêu cầu trong output, trước hết tại .xinitrc:
#export GTK_IM_MODULE=fcitx
#export QT_IM_MODULE=fcitx
#export XMODIFIERS=@im=fcitx

thay thế bằng .xprofile:
export XMODIFIERS=@im=fcitx
export QT_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export GTK_IM_MODULE=fcitx

chạy lại fcitx thì output của fcitx-diagnose là: (tệp đính kèm). Để ý thì thấy nhiều lỗi đã được fix, chỉ còn 2 dòng màu đỏ:

**Config GUI for gtk2 not found.**
**`kcmshell4` not found.**

Kết quả vẫn gõ tiếng Việt (VNI) tốt trong leafpad, firefox, soffice, xfce4-terminal, vv.





fcitx-diagnose-output.txt
Reply all
Reply to author
Forward
0 new messages