~ $ more /etc/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult before changing.
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j3"
USE="-ipv6 -cups -qt3 -qt4 -arts -kde X dbus gtk gnome hal avahi nls"
INPUT_DEVICES="keyboard mouse synaptics evdev"
VIDEO_CARDS="intel"
~ $ more /etc/portage/package.use
x11-libs/cairo X
x11-libs/pango X
app-text/poppler-bindings gtk cairo
app-crypt/pinentry gtk
x11-base/xorg-server evdev
基于新的 X 来做一次 emerge x11-drivers 下的东西。
You must rebuild all drivers if upgrading from xorg-server 1.4.1
or earlier, because the ABI changed. If you cannot start X because
of module version mismatch errors, this is your problem.
You can generate a list of all installed packages in the x11-drivers
category using this command:
emerge portage-utils; qlist -I -C x11-drivers/
在/etc/X11/xorg.conf里加上了
Section "ServerFlags"
Option "AllowEmptyInput" "False"
Option "AutoAddDevices" "False"
EndSection
且把所有的InputDevice都注释掉, 重新进X.
如果在xorg-server中启用了hal USE
rc-update add hald default
先安装并同步gentoo-china overlay
界面中文:
emerge -av wqy-zenhei
eselect fontconfig enable 44-wqy-zenhei.conf
eselect fontconfig enable 66-wqy-zenhei-sharp.conf
xset fp rehash
其中wqy-zenhei被masked,另外加入"X" USE标记
~ $ more /etc/portage/package.use
media-fonts/wqy-zenhei X
~ $ more /etc/portage/package.keywords
media-fonts/wqy-zenhei ~x86
xset fp rehash 需要在X界面下完成.
参考资料:
阅读(1977) | 评论(0) | 转发(0) |