1. 到scim官方,或者(http://mirror.lzu.edu.cn/software/scim)下載scim-1.4.7.tar.gz和scim-pinyin-0.5.91-i686-1bur.tgz
2. 安裝scim和scim-pinyin(如果不喜歡智能拼音,到官方下載其他的,這里安裝比較關鍵的是scim,而不是scim-pinyin)
編譯安裝scim
$ tar zxf scim-1.4.7.tar.gz
$ cd scim-1.4.7
$ ./configure –prefix=/usr
$ make
$ make install
直接安裝scim-pinyin(當然,你也可以直接下載源代碼,進入源代碼,自己編譯,編譯步驟執(zhí)行 “./configure; make; make install” 即可)
$ installpkg scim-pinyin-0.5.91-i686-1bur.tgz
3.修改/etc/profile.d/lang.sh
export LANG=zh_CN.gb2312
export LC_CTYPE=zh_CN.gb2312
export G_BROKEN_FILENAME=zh_CN.gb2312
4. 在家目錄下創(chuàng)建.xinitrc文件
增加以下內容,
$ vim ~/.xinitrc
scim -d &
export LANG=zh_CN.gb2312
export LC_CTYPE=zh_CN.gb2312
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=SCIM
export QT_IM_MODULE=SCIM
startkde
5.建立~/.bash_profile
export LANG=zh_CN.gb2312
最后一行是啟動桌面系統(tǒng),修改為你自己的桌面啟動方式即可,.xinitrc文件是startx的時候調用的,比如gnome-session,/etc/X11/xinit/xinitrc.xfce等,看看你桌面程序的啟動命令
PS: mirror.lzu.edu.cn上的scim的1.4.5的tgz包可以再slackware 12.0下面直接使用,但在12.0下無法啟動,建議按照上面的步驟編譯安裝。
3)鼠標滾輪的設置
[setup the wheel for 3 button mouse]
修改xconf
[modify /etc/X11/xorg.conf]
Section “InputDevice”
# Identifier and driver
Identifier “Mouse1″
Driver “mouse”
Option “Protocol” “IMPS/2″ <==修改這里[modify here]
Option “Device” “/dev/mouse”
Option “Buttons” “5″ <==添加這里 [add this line]
Option “ZAxisMapping” “4 5″ <==添加這里 [add this line]
posted on 2009-12-13 18:14
老馬驛站 閱讀(614)
評論(0) 編輯 收藏 引用 所屬分類:
linux