freebsd 里使用fcitx 配置方法
来源:互联网 发布:js concat连接数组 编辑:程序博客网 时间:2024/06/11 04:14
1 cd /usr/ports/chinese/fcitx
make install clean
或者
sudo pkg_add -r fcitx
_______________________
2 gedit ~/.login_conf #需要全局设定的话,把它拷贝到/etc下就好
_________________
# $FreeBSD: src/share/skel/dot.login_conf,v 1.3.36.1.2.1 2009/10/25 01:10:29 kensmith Exp $
#
# see login.conf(5)
#
#me:/
#
:lang=zh_CN.UTF8:/
:export=LC_ALL=zh_CN.UTF8:/
:export=LC_COLLATE=zh_CN.UTF8:/
:export=LC_CTYPE=zh_CN.UTF8:/
:export=LC_MESSAGES=zh_CN.UTF8:/
:export=LC_MONETARY=zh_CN.UTF8:/
:export=LC_NUMERIC=zh_CN.UTF8:/
:export=LC_TIME=zh_CN.UTF8:/
:charset=big5:/
:xmodifiers="@im=fcitx": #Set fcitx as the XIM Input Server
_________________
3 !! 我使用 bash!! #通过 chsh 口令改变使用的shell
gedit ~/.bashrc
export LANG=zh_CN.eucCN #必须是zh_CN.eucCN
export XIM=fcitx
export xim=fcitx
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
export XIM_PROGRAM=fcitx
export XMODIFIERS='@im=fcitx'
4
gedit ~/.profile
# $FreeBSD: src/share/skel/dot.profile,v 1.23.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $
#
# .profile - Bourne Shell startup script for login shells
#
# see also sh(1), environ(7).
#
export LANG=en_US.UTF-8
export LC_CTYPE=zh_CN.UTF-8
export LANG LC_CTYPE
# remove /usr/games if you want
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:$HOME/bin; export PATH
# Setting TERM is normally done through /etc/ttys. Do only override
# if you're sure that you'll never log in via telnet or xterm or a
# serial line.
# Use cons25l1 for iso-* fonts
# TERM=cons25; export TERM
BLOCKSIZE=K; export BLOCKSIZE
EDITOR=vi; export EDITOR
PAGER=more; export PAGER
# set ENV to a file invoked each time sh is started for interactive use.
ENV=$HOME/.shrc; export ENV
if [ -x /usr/games/fortune ] ; then /usr/games/fortune freebsd-tips ; fi
────────────────────────────────────────
5
gedit ~/.xinitrc
export XMODIFIERS=@im=fcitx
fcitx &
────────────────────────────────
- freebsd 里使用fcitx 配置方法
- freebsd下设置fcitx
- FreeBSD中安装fcitx
- freebsd安装fcitx
- freebsd sudo配置使用
- freebsd网卡DHCP配置方法
- freebsd 8.2 中安装 fcitx
- ubuntu16.04输入法使用,fcitx输入法配置
- FreeBSD的IP地址配置方法
- FreeBSD快速桌面使用配置步骤!
- FreeBSD 6.1中配置使用小企鵝輸入法
- FreeBSD 6.2中使用配置PF防火墙
- 安装fcitx及配置
- fcitx输入法配置
- fcitx安装方法
- emacs中使用fcitx
- fcitx的安装使用
- FreeBSD经常用到的配置文件的作用和配置方法
- 关于InputStream
- DB2数据库的备份
- SplineShape : Shape Notes
- 传智播客java培训-Java编程基础
- Windows 环境下的 PHP5 与 Apache 服务器的配置
- freebsd 里使用fcitx 配置方法
- 如何测试系统大小端
- bool类型
- JS常用---多文件上传
- gcc 编译学习
- 程序员能力矩阵 你属于哪一层?[转载]
- C#窗体间通讯的几种处理方法
- Linux下利用条件变量实现读写锁
- erp家庭化