|
发表于 2004-1-7 15:45:28
|
显示全部楼层
这是我的配置:
/etc/fstab:
/dev/hda10 / reiserfs defaults 1 1
LABEL=/boot /boot ext2 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda11 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro,iocharset=utf8 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda1 /mnt/hda1 vfat iocharset=utf8 0 0
/dev/hda5 /mnt/hda5 vfat iocharset=utf8 0 0
/dev/hda6 /mnt/hda6 vfat iocharset=utf8 0 0
/dev/hda7 /mnt/hda7 vfat iocharset=utf8 0 0
/dev/hda8 /mnt/hda8 vfat iocharset=utf8 0 0
/dev/hdc1 /mnt/hdc1 vfat iocharset=utf8,umask=0 0 0
/dev/hdc5 /mnt/hdc5 vfat iocharset=utf8,umask=0 0 0
/dev/hdc6 /mnt/hdc6 vfat iocharset=utf8,umask=0 0 0
/dev/hdc7 /mnt/hdc7 vfat iocharset=utf8,umask=0 0 0
/dev/hdc8 /mnt/hdc8 vfat iocharset=utf8,umask=0 0 0
这是$HOME/.bashrc:(root和普通用户都可用)
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=xim
if [[ -z `ps -e|egrep "scim" ` ]] ;
then
scim &
fi
这是kde的启动脚本:
.xinitrc(或者是.xsession)
#!/bin/sh
# This's for RedHat and Slackware
for i in /etc/X11/xinit/xinitrc.d/* ; do
if [ -x "$i" ]; then
. "$i"
fi
done
# This's for Mandrake
if [ -x /etc/X11/xinit/XIM ]; then
. /etc/X11/xinit/XIM
fi
exec startkde
输入法用的是从公社下载的scim,这样设置是肯定可以在英文的环境下显示和输入中文的。 |
|