install fcitx input method on ubuntu
来源:互联网 发布:whatsapp for mac下载 编辑:程序博客网 时间:2024/06/05 08:44
The default scim input method doesn't work well with freemind on my computer, so I'd like to switch to fcitx. The fcitx package in ubuntu repository is an old version, and to install fcitx manually isn't very straightforward, so I make this post about how I managed to get it to work.
1. Download fcitx source code and extract.
2. Make sure all dependent libraries are installed:
4. At this time, fcitx failed to run and gave following error: fcitx: error while loading shared libraries: libfcitx-config.so.4: cannot open shared object file: No such file or directory. To fix it, create a symbol link in /usr/lib with this command:
immodule-files.d/libgtk2.0-0. immodules file, change the line
"xim" "X Input Method" "gtk20" "/usr/share/locale" "ko:ja:th:zh"
to
"xim" "X Input Method" "gtk20" "/usr/share/locale" "en:ko:ja:th:zh"
7. Restart
To make fcitx more convenient to use, I run fcitx-config and change configurations below.
Reference:
fcitx4.pdf
1. Download fcitx source code and extract.
2. Make sure all dependent libraries are installed:
sudo apt-get install libpango1.0-dev libcairo2-dev xorg-dev libtool gettext intltool
3. Run configure && make && make install4. At this time, fcitx failed to run and gave following error: fcitx: error while loading shared libraries: libfcitx-config.so.4: cannot open shared object file: No such file or directory. To fix it, create a symbol link in /usr/lib with this command:
sudo ln -s /usr/local/lib/libfcitx- config.so /usr/lib/libfcitx-config.so.4
5. Create /etc/X11/xinit/xinput.d/fcitx file with below content. Alternatively we can place them in ~/.profile.XIM=fcitx
XIM_PROGRAM=/usr/local/bin/fcitx
XIM_ARGS=""
GTK_IM_MODULE=XIM
QT_IM_MODULE=XIM
DEPENDS="fcitx"
6. Edit /usr/lib/gtk-2.0/2.10.0/XIM_PROGRAM=/usr/local/bin/fcitx
XIM_ARGS=""
GTK_IM_MODULE=XIM
QT_IM_MODULE=XIM
DEPENDS="fcitx"
"xim" "X Input Method" "gtk20" "/usr/share/locale" "ko:ja:th:zh"
to
"xim" "X Input Method" "gtk20" "/usr/share/locale" "en:ko:ja:th:zh"
7. Restart
To make fcitx more convenient to use, I run fcitx-config and change configurations below.
# Candidate Word Number
CandidateWordNumber=9
# Main Window Hide Mode
MainWindowHideMode=Auto
# Show Input Window After Trigger Input Mode
ShowInputWindowAfterTriggering=False
# Show Input Speed
ShowInputSpeed=False
CandidateWordNumber=9
# Main Window Hide Mode
MainWindowHideMode=Auto
# Show Input Window After Trigger Input Mode
ShowInputWindowAfterTriggering=False
# Show Input Speed
ShowInputSpeed=False
Reference:
fcitx4.pdf
- install fcitx input method on ubuntu
- how to install chinses input method--fcitx in ubuntu
- [ Ubuntu Chinese Method ] uninstall DBus, install fcitx
- ubuntu install sougou input method
- Fcitx──小企鹅输入法---Ubuntu input method
- Ubuntu 7.04 install Chinese input method
- ubuntu 13 sogou input method install
- Install Fcitx on Fedora
- install sogou pinyin method on ubuntu
- Howto Install and Configure Chinese Input Methods on Ubuntu
- Ubuntu Install Method
- Ubuntu 16.04 安装中文输入法(Ubuntu 16.04 install chinese input method)
- ubuntu install chinese input
- install ImageMagick on Ubuntu
- install myreview on ubuntu
- Install JDK on Ubuntu
- install mplayer on ubuntu
- install mplayer on ubuntu
- QMessageBox 窗口大小更改问题(thinkvd开发日志)
- 堆和栈的区别
- ASP.NET中的状态
- 女程序员,作程序员还是作女人?
- 解决Discuz7在Chrome中无法显示弹出窗口内容的问题
- install fcitx input method on ubuntu
- 哈弗曼树实现
- 一条ikujt也
- 汉字编码过滤器
- 网页制作小技巧:dl dt dd标签用法
- .net的反射机制
- sicily 1321 dijkstra
- Qt下写串口error: resource temporarily unavailable的缘由
- [转]关于float,double等表示的数值范围的计算