找回密码
 注册
搜索
热搜: 回贴
微赢网络技术论坛 门户 服务器 Linux/BSD 查看内容

Chinese Input for Ubuntu Hoary

2009-12-20 13:50| 发布者: admin| 查看: 103| 评论: 0|原作者: 千年缘

Chinese Input for Ubuntu Hoary:
(version française)
1) install the following packages:
* scim
* scim-chinese
* scim-config-socket
* scim-frontend-socket
* scim-gtk2-immodule
* scim-server-socket
* scim-tables-zh (option)
* xfonts-intl-chinese
* xfonts-intl-chinese-big
* ttf-arphic-gbsn00lp
* ttf-arphic-gkai00mp
* ttf-arphic-bkai00mp
* ttf-arphic-bsmi00lp
accept all dependencies.
2) System -> Preferences -> Sessions
Startup Programs Tab -> Add Button
Startup Command: scim -d
Order: 80
3) Restart Gnome: CTRL ALT SUPPR
4) Open any software and press CTRL SPACE to activate chinese input
------------------------------------------------------------------------------------------------------
IF not working you can as an alternative replace step 2) as follow:
2) alt F2, gedit
type these few lines:
Code:
scim -d
export XMODIFIERS=@im=scim
export GTK_IM_MODULE=scim
gnome-session
Save them under your home directory name: .xsession
Then open a terminal and type:
Code:
$chmod x .xsession
------------------------------------------------------------------------------------------------------

Tips
Additional Instructions for OpenOffice:
Tools=>Options=>Language Settings=>Languages: enable Asian
languages support and choose the asian default language for document.
(chinese simplified for example)
Tools=>Options=>Text Document=>Basic Fonts (Asian): change all
of them for "AR PL Kaitim GB" or your favorite chinese font.
Clean Font
Add Firefly's font "AR PL New Sung"
Open a terminal and type
Code:
$wget http://firefly.idv.tw/apt/firefly-font/fireflysung-1.3.0.tar.gz
$tar zxvf fireflysung-1.3.0.tar.gz
$sudo cp fireflysung-1.3.0/fireflysung.ttf /usr/share/fonts/truetype/
$sudo fc-cache -f -v
Alternative repositories
Code:
$wget http://cle.linux.org.tw/fonts/FireFly/fireflysung-1.3.0.tar.gz
or
$wget http://apt.nc.hcc.edu.tw/pub/FC_src/fireflysung-1.3.0.tar.gz
or
$wget http://www.study-area.org/apt/firefly-font/fireflysung-1.3.0.tar.gz
More Fonts
Install msttcorefonts, open a terminal:
Code:
$sudo apt-get install msttcorefonts
现在能写中文
谢谢
pierre

tzutolin












Last edited by DuKefeng; April 20th, 2005 at 02:20 AM..









screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://ubuntuforums.org/images/statusicon/user_offline.gif');}" onmousewheel="return imgzoom(this);" alt="" />














screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://ubuntuforums.org/images/buttons/quote.gif');}" onmousewheel="return imgzoom(this);" alt="" />







最新评论

QQ|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )

GMT+8, 2024-9-30 01:40 , Processed in 0.186584 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

返回顶部