gentoo problems

2011年5月06日 11:23

1.Problem

'One of the files in /etc/{conf.d,init.d} or 
/etc/rc.conf has a modification time in the future'

solve:

touch /etc/{conf.d,init.d}/*;

touch /etc/rc.conf.

 

Tags: gentoo problems
评论(1) 阅读(2362)

gentoo scim 安装

2011年5月05日 16:33

按照wiki的指导安装了scim:

设置USE标记:

USE="${USE} scim immqt-bc cjk unicode nls anthy m17n-lib"

然后:

emerge -avuDN world

接着:

emerge -av scim scim-tables scim-pinyin

接下来就是配置了,关键内容是

scim -d
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim

但是这些东西放那就成了问题了,放过/etc/X11/xinit/xinitrc.d/95-scim,放过~/.bashrc,~/.profile,~/.xintrc,都不好使,几近崩溃的时候只好

mkdir /etc/profile.d
touch /etc/profile.d/scim.sh
chmod +x /ect/profile.d/scim.sh

然后把内容放进去,重启一下,Ctrl+Space后可爱的输入法蹦出来了。

Tags: gentoo scim
评论(0) 阅读(4681)