2006年12月29日 星期五

ubuntu server的簡易的desktop環境

裝完ubuntu server後,再裝個簡易的desktop及中文字型,語法如下:
sudo apt-get install xorg gnome-session gnome-applets nautilus metacity xscreensaver gdm gedit gnome-terminal firefox
參閱 http://www.ubuntuforums.org/archive/index.php/t-86076.html
sudo apt-get install ttf-arphic-newsung ttf-arphic-ukai ttf-arphic-uming
參閱http://wiki.ubuntu.org.tw/index.php/UbuntuL10n

ubuntu下安裝scim

1.先安裝以下套件:
sudo apt-get install scim
sudo apt-get install scim-chinese
sudo apt-get install scim-config-socket
sudo apt-get install scim-gtk2-immodule
sudo apt-get install scim-tables-zh

2.設定 scim 啟動檔:
sudo touch /etc/X11/Xsession.d/74custom-scim_startup
sudo chmod 646 /etc/X11/Xsession.d/74custom-scim_startup
echo 'export XMODIFIERS="@im=SCIM"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'export GTK_IM_MODULE="scim"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'export XIM_PROGRAM="scim -d"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'export QT_IM_MODULE="scim"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'scim -f x11 -d' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'scim -f socket -d' >>/etc/X11/Xsession.d/74custom-scim_startup
sudo chmod 644 /etc/X11/Xsession.d/74custom-scim_startup

3.安裝完成後請重新登入

4.啟動 SCIM 按下 'Ctrl + Space'

用scim安裝嘸蝦米輸入法

首先要有一個嘸蝦米的字根表noseeing.bin檔案,再到 [系統] -> 偏好設定 -> 更多偏好設定 -> SCIM 輸入法設定 -> 泛用對照表 -> 管理對照表 -> 安裝 剛剛解壓出來的 noseeing.bin ,重新登入就可以了。
參閱:http://out-of-pc.blogspot.com/2006/03/scim.html