2013年5月8日 星期三

[Arch Linux] Use gcin to type chinese and display English on the monitor


[Arch Linux] Use gcin to type chinese and display English on the monitor



1. Install gcin

pacman -S gcin



2. nano /etc/locale.gen

en_US.UTF-8 UTF-8

zh_TW.UTF-8 UTF-8

zh_TW BIG5



Save --> locale-gen



2. Copy .bash_profile to home folder

cp /etc/skel/.bash_profile ~/

vim ~/.bash_profile



3. setting the .bash_profile

if [[ -z $DISPLAY ]]; then

#export LC_CTYPE="zh_TW.UTF-8"

export XMODIFIERS=@im=gcin

export GTK_IM_MODULE="gcin"

export QT_IM_MODULE="gcin"

gcin &

exec startxfce4

fi



Reference :



Related Posts:

0 意見:

張貼留言