在ubuntu12.04中安装中文输入法fcitx
来源:互联网 发布:档案管理 源码 编辑:程序博客网 时间:2024/05/22 17:04
原文:Quick install Chineseinput method on Ubuntu
A. To install Chineseinput fcitx through web update
1. Click application program tab and then click root terminal, login to a root terminal
2. Type apt-get update and press Enter key
3. Type apt-get install fcitx and press Enter key (it may take a while to finish, be patient)
4. After finished, type cd /etc/X11/Xsession.d and press Enter key to get into this directory
5. Create a new file called 95xinput, add the following contents into file:
export XIM=fcitx
export XIM_PROGRAM=fcitx
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx (kubuntu delete this line)
fcitx
Save the file and exit the edit mode.
6. Type chmod +755 95xinput and press Enter key
7. Type reboot and press Enter key to restart the pc
8 Login into X window and open a text editor or openoffice , press ctrl-space to active Chineseinput. You can start toinput in Chinese now.
B. Install Chineseinput fcitx through pre-build package
1. Go to web site www.fcitx.org
2. Download the file fcitx-3.1.1-bin.tar.bz2
3. Click application program tab and then click root terminal, login root terminal.
4. Type cd /usr to get into /usr directory and copy the above file in /usr directory
5. Type tar jxvf citx-3.1.1-bin.tar.bz2 and press Enter key to extract the file
6. Type cd fcitx-3.1.1-bin and press Enter key and press Enter key to get into newly created directory
7. Type ./fcitx.install and press Enter key toinstall fcitx
8. After finished, type cd /etc/X11/Xsession.d and press Enter key to change current working directory
9. Create a new file name it as 95xinput, add the following contents into file:
export XIM=fcitx
export XIM_PROGRAM=fcitx
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx (kubuntu delete this line)
fcitx
10. Save the file and exit the edit mode
11. Type chmod +755 95xinput and press Enter key
12. Type reboot and press Enter key to restart the pc
13. Login into X window and open a text editor or openoffice , press ctrl-space to active Chineseinput, you can start toinput Chinese now.
C . Install Chineseinput fcitx from scratch
1. Go to web site www.fcitx.org
2. Download the file fcitx-3.1.1.tar.bz2
3. Type cd /usr and press Enter key to get into /usr directory and copy the above file in /usr directory
4. Type tar jxvf citx-3.1.1.tar.bz2 and press Enter key to extract the file
5. Type cd fcitx-3.1.1 to get into this newly created directory
6. Type apt-get install bulid-essential and press Enter key
7. Type apt-get install Xlibs-dev and press Enter key
8. Type apt-get install libxft-dev xfsdump gawk and press Enter key
9. Type ./configure and press Enter key
10. Type make and press Enter key to compile
11. Type make install and press Enter key toinstall fcitx
12. After finished, type cd /etc/X11/Xsession.d and press Enter key to change current working directory. Create a new file name it as 95xinput, add the following contents into file:
export XIM=fcitx
export XIM_PROGRAM=fcitx
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx (kubuntu delete this line)
fcitx
Save the file and exit the edit mode
13. Type chmod +755 95xinput and press Enter key
14. Type reboot and press Enter key to restart the pc
15. Login into X window and open a text editor or openoffice ,press ctrl-space to active Chineseinput, you can start toinput Chinese now.
D. Install other Chineseinput
If you have a traditional Chinese Linux system and would like toinstall other Chineseinput like scim, you can do so through approach A. You only need to change a few places.
In step 6 , you change fcitx to scim.
In step 8, you change all fcitx to scim
and the rest will be the same.
Although here we use stable version of fcitx as a sample, you can always use approach C to download and compile the latest version at any time you like. Good luck and enjoy theLinux!
!!!
安装Fcitx sudo apt-get install im-switch fcitx sudo im-switch -s fcitx -z defaultim-switch -s fcitx -z default #注意:不加sudo
摘自: Quickinstall Chineseinput method on Ubuntu_依玲_百度空间
网址:http://hi.baidu.com/yywgrhkthsekpqe/item/a2fbe06a2a8ed1156895e6a0
读后感
我参照文中A. To install Chineseinput fcitx through web update的步骤
在ubuntu12.04中成功安装了中文输入法。说明文中的A方法是可行的。如果谁对A
方法有疑问,可以跟我联系。Email: xww810319@126.com
20131206
- 在ubuntu12.04中安装中文输入法fcitx
- 如何在Ubuntu中安装中文输入法fcitx或ibus
- 在Ubuntu12.04上安装中文输入法
- 在Ubuntu12.04上安装中文输入法
- 在Ubunut8.04下面安装Fcitx中文输入法
- 安装fcitx中文输入法在linux下
- ubuntu12.04 + QT5下fcitx无法使用中文输入法
- 在ubuntu12.10中安装中文输入法ibus
- ubuntu10.04 中文输入法fcitx安装
- 在 Debian Squeeze中安装 fcitx 输入法
- ubuntu12.04 中文输入法安装
- ubuntu12.04安装中文输入法
- ubuntu12.04中文输入法安装
- Ubuntu12.04安装中文输入法
- ubuntu12.04安装中文输入法
- ubuntu12.04 安装fcitx
- ubuntu12.04 安装fcitx
- Ubuntu12.04安装fcitx
- POJ 1273 Drainage Ditches 最大流
- Spring MVC 国际化
- XCode上搭建coos2dx + lua开发项目
- deb 安装时提示有系统DS_Store 文件 ,删除
- java对象转换成为json数据
- 在ubuntu12.04中安装中文输入法fcitx
- LUA脚本
- Objective-C中使用@try处理异常
- 『openframeworks』shader制作三角形马赛克效果
- 一个奇葩的存储过程
- myeclipse debug模式提示 source not found
- OBJC依赖库管理利器cocoapods 安装及使用详细图解
- 户曝iPhone 5S指纹识别灵敏度大幅下降
- 言不出