Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Systemd + Genom3 使用心得和安装注意事项
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
microcai
n00b
n00b


Joined: 24 Apr 2011
Posts: 6

PostPosted: Sun Apr 24, 2011 7:18 am    Post subject: Systemd + Genom3 使用心得和安装注意事项 Reply with quote

我用 Gentoo 也快2年了。一直不去论坛。一直都是自己解决问题的。独乐乐,不如众乐乐。

首先说 systemd , 相信各位已经在各个渠道得知 systemd 是什么了,我也不废话了。
Code:
layman -a systemd
就可以了
安装 systemd 的时候,其实已经可以不要 sysvinit USE flag 了,我本人已经卸载 sysvinit 和 openrc 了。
为了防止 portage 更新,在 package.provided 加上了。

删除前,我备份了 /etc/init.d/functions.sh , emerge -C openrc 后再拷贝回去。
如果不这样的话,很多工具,比如 gcc-config 就不能运行了。

然后给 systemd 做软链接
Code:
ln -svf /bin/systemd /sbin/init


这样 systemd 就安装好了, 而且不再依赖 openrc 。

syslog-ng 的新版本有支持 systemd socket activation 的 patch , 我已经到我的个人 overlay 里集成了
https://github.com/microcai/myoverlay

Gnome3 我也已经在用了, 添加 gnome overlay
Code:
layman -a gnome


然后就是安装 gnome-shell

注意的是, 如果 gnome 里带的 daemon , systmed 也有,请务必使用 systemd 里面的 daemon.
因为systemd overlay里的才有必须的 patch 实现 systemd 的 dbus activation 和 socket activation

随便提一下, vte 其实gnome overlay 里面的版本兼容老版本的,可是 gnome overlay 里的却非要 SLOTed 掉了,导致你要安装两个 VTE ... 不爽。 可以 放 package.provided 一个。然后到 /usr/lib/pkgconfig/ 让 vte.pc 链接到 vte-2.90.pc


还有就是 ibus 啦

目前现有的 ibus 都没有 gtk3 USE flag , 导致 gnome3 下 ibus 无法使用。可以使用我的 overlay 里的 ibus. 添加了 gtk3 use flag.

还有 gtk3+ 目前有 xim 方面的问题,使用 xim 会有各种问题。但是居然默认使用 xim 而不是 ibus 掉了,所以要在 /etc/environment 写死了
Code:
GTK_IM_MODULE=ibus



最后,贴一下使用 systemd 进入完整的 gnome3 桌面的时间 : 21s

有 bootchart 图片为证据
http://microcai.gsalex.net/bootchart.png
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum