View previous topic :: View next topic |
Author |
Message |
ts Tux's lil' helper
Joined: 15 Dec 2004 Posts: 97
|
Posted: Mon May 23, 2005 1:10 am Post subject: E17 简易安装中文版 howto |
|
|
现在 E17 已经比较稳定了,而且支持中文,包括中文菜单和输入。界面非常漂亮,速度也很不错,发此帖希望和大家共享,并方便那些有兴趣安装,但有些为难的朋友。这里给出安装和美化 E17 用的脚本(我尽可能更新这些脚本,由于网站和软件都在不断更新,而你碰巧遇到错误,请发贴告知。):
070130 更新信息:E17 的 9999 ebuilds 已经从 portage 中移出,如果你想升级或安装需安装和设置 layman
然后添加 enlightenment overlay:
Code: | # layman -a enlightenment |
在这之后,你就可以继续正常升级或安装 E17 了。
(一)安装和更新用的脚本
你可以每月运行一次,因为 E17 还在紧张的开发中。注意,只更新单个包很可能会出错。
参考http://get-e.org/E17_User_Guide/Chinese/_pages/2.1.html
Code: |
#!/bin/bash
#
# /usr/bin/k4e17 writen by ts
#
source /sbin/functions.sh
#==================================
# check UID and keywords info
#==================================
[ "$UID" -ne "0" ] && eerror "Must be root to run this script." && exit
# remove old cvs pkg, make sure of using latest pkg
rm -rf /usr/portage/distfiles/cvs-src/*
[[ $(grep "978645BcDPoQ" /etc/portage/package.keywords) ]] || \
echo "# 978645BcDPoQ # For reusing script, don't delete this marker
dev-libs/efreet **
x11-wm/e **
x11-libs/evas **
x11-libs/ecore **
media-libs/edje **
dev-libs/eet **
dev-db/edb **
dev-libs/embryo **
media-libs/imlib2 **
media-libs/epeg **
media-libs/epsilon **
x11-libs/ewl **
x11-libs/esmart **
x11-misc/entrance **
app-misc/evidence **
dev-util/e_utils **
dev-libs/engrave **
app-misc/examine **
media-libs/emotion **
media-gfx/elicit **
media-gfx/entice **
media-libs/imlib2_loaders **
x11-libs/etk **
x11-misc/engage **
dev-libs/exml **
x11-plugins/e_modules **
x11-plugins/e_modules-alarm **
x11-plugins/e_modules-bling **
x11-plugins/e_modules-calendar **
x11-plugins/e_modules-cpu **
x11-plugins/e_modules-deskshow **
x11-plugins/e_modules-emu **
x11-plugins/e_modules-engage **
x11-plugins/e_modules-flame **
x11-plugins/e_modules-language **
x11-plugins/e_modules-mail **
x11-plugins/e_modules-mem **
x11-plugins/e_modules-mixer **
x11-plugins/e_modules-moon **
x11-plugins/e_modules-net **
x11-plugins/e_modules-photo **
x11-plugins/e_modules-rain **
x11-plugins/e_modules-screenshot **
x11-plugins/e_modules-slideshow **
x11-plugins/e_modules-snow **
x11-plugins/e_modules-taskbar **
x11-plugins/e_modules-tclock **
x11-plugins/e_modules-uptime **
x11-plugins/e_modules-weather **
x11-plugins/e_modules-winselector **
x11-plugins/e_modules-wlan **
media-video/elation **
media-video/envision **
sci-calculators/equate **
mail-client/embrace **" >> /etc/portage/package.keywords
#=============================
# emerge pkg for e17 in order
#=============================
# 5/3/2006 Thanks john_yao's revision for this part
# 5/6/2006 revise
[ -f /tmp/e17failedpkgs ] && rm /tmp/e17failedpkgs
e17pkgs="dev-libs/eet evas ecore efreet embryo edje dev-db/edb imlib2 epeg\
media-libs/epsilon esmart emotion engrave ewl imlib2_loaders\
x11-wm/e e_utils elicit entice elation envision examine exml\
eclair equate embrace e_modules etk engage entrance evidence"
emerge -pDv $e17pkgs && einfo "e17 will be emerged in 3 seconds." && sleep 3
for i in $(echo $e17pkgs)
do
trap 'exit ' 2 #exit script for Ctrl+c
emerge -Dv $i 2>/dev/null || \
echo $i >> /tmp/e17failedpkgs
done
[ -f /tmp/e17failedpkgs ] && chmod 666 /tmp/e17failedpkgs
# print fail info
[ -f /tmp/e17failedpkgs ] && einfo "emerge e17 failed packages:" && echo && cat /tmp/e17failedpkgs
[ ! -e /tmp/e17failedpkgs ] && einfo "emerging e17 is successful."
echo
|
把脚本存为 /usr/bin/k4e17 ,或任何你喜欢的名字。
Code: | chmod +x /usr/bin/k4e17 |
用上面命令让文件可执行,然后运行即可(别忘了需要是 root)。
有关讨论请参考:https://forums.gentoo.org/viewtopic-t-315249-highlight-emerge+e17.html
(二)设 entrance 为默认的登录管理器
如果安装成功后,第一件是你要做的是把 entrance 设为默认的登录管理器 (很漂亮的 )。
你可以参考 http://gentoo-wiki.com/HOWTO_emerge_e17
这里简要说明一下:
Code: | nano /etc/conf.d/xdm |
Quote: | # What display manager do you use ? [ xdm | gdm | kdm | entrance ]
DISPLAYMANAGER="entrance"
|
重新启动 xdm 后,你应该能看到效果。
Code: | /etc/init.d/xdm restart |
(三)美化你的 E17
当你进入 e17 界面后,你已经就有一个惊喜了,但 e17 能做得更好。
首先,你如果想使用中文菜单,请运行
Code: | enlightenment_remote -lang-set zh_CN.UTF-8 |
即可见中文菜单和环境.
你如果觉得字体大小,想要 14 号字体,请运行
Code: | $ enlightenment_remote -font-default-set default Vera 14
$ enlightenment_remote -font-default-set title_bar Vera 14
$ enlightenment_remote -font-apply |
用命令 Code: | enlightenment_remote -font-default-list | 确认。
此外,如果你是初次使用或不熟悉 e17,你可以用下面美化用的脚本。
美化用的脚本(在 e17 界面里用,当前登录用户):
Code: | #!/bin/bash
#
# /usr/bin/k4bte17 writen by ts
#
source /sbin/functions.sh
case "$1" in
"-h" | "--help" | "h" | "-?" )
echo ""
einfo k4bte17 is a script for user
einfo to make use of E17 beauty.
echo "" &&
exit;;
esac
cd ~/.e/e/themes
if [ -z "$1" ] || [[ "$1" == "1" ]]; then
[ -e gentoo.edj ] || \
wget http://www3.get-e.org/Backgrounds/Animated/_files/gentoo.edj
enlightenment_remote -default-bg-set ~/.e/e/themes/gentoo.edj && exit
else
case "$1" in
"2")
[ -e e17_bg_layered_sky.edj ] || \
wget http://www3.get-e.org/Backgrounds/Animated/_files/e17_bg_layered_sky.edj
enlightenment_remote -default-bg-set ~/.e/e/themes/e17_bg_layered_sky.edj && exit;;
"3")
[ -e BlackE.edj ] || \
wget http://www3.get-e.org/Backgrounds/Static/_files/BlackE.edj
enlightenment_remote -default-bg-set ~/.e/e/themes/BlackE.edj && exit;;
*) einfo "Script only have 3 options, default is 1." && exit;;
esac
fi
|
保存文件,并让文件可执行(需要是 root):
Code: | chmod +x /usr/bin/k4bte17 |
用当前登录用户运行 k4bte17,加上参数 1、2 或 3, 即可见不同效果。
更多信息请见http://get-e.org/E17_User_Guide/Chinese/index.html
祝你好运。
最近更新 5/20/2007
5/20/2007 add "x11-libs/etk **" to package.keywords for engage,
revise k4bte17, change enlightenment overlay and xdm configuration
4/28/2007 change all "-*" to "**" for package.keywords
4/1/2007 add dev-libs/efreet ** for package.keywords
5/3/2006 Thanks john_yao's revision for k4e17
5/6/2006 revise k4e17
5/8/2006 revise k4bte17
5/19/2006 add dev-libs/exml -*
7/19/2006 remove erss and etox
1/30/2007 add layman info, and e_modules splited ebuilds to /etc/portage/package.keywords
Last edited by ts on Mon May 21, 2007 12:00 am; edited 53 times in total |
|
Back to top |
|
|
EricHsu Bodhisattva
Joined: 03 May 2004 Posts: 591 Location: Aragon Consulting Group, Beijing, China
|
|
Back to top |
|
|
ts Tux's lil' helper
Joined: 15 Dec 2004 Posts: 97
|
Posted: Mon May 23, 2005 3:25 am Post subject: |
|
|
EricHsu wrote: | coOL~
搞得我心痒痒想恨不得把公司这台叉屁干掉换兔兔装 E17 |
你很早就关注 e17 呢,难道现在还没玩? |
|
Back to top |
|
|
cls-jz n00b
Joined: 27 Dec 2004 Posts: 30
|
Posted: Mon May 23, 2005 9:23 am Post subject: |
|
|
多谢ts兄,e17确实是不错的哦!呵呵!我觉得它的动态桌面让人感到一阵新鲜!
_________________ 2.6.15-nitro3
IBM T43 (BH4)
Reiser4 E17 |
|
Back to top |
|
|
EricHsu Bodhisattva
Joined: 03 May 2004 Posts: 591 Location: Aragon Consulting Group, Beijing, China
|
|
Back to top |
|
|
vliqi n00b
Joined: 27 Feb 2004 Posts: 28
|
Posted: Mon May 23, 2005 12:37 pm Post subject: |
|
|
试一试 _________________ Who love life will love free |
|
Back to top |
|
|
ts Tux's lil' helper
Joined: 15 Dec 2004 Posts: 97
|
Posted: Mon May 23, 2005 5:02 pm Post subject: |
|
|
cls-jz wrote: | 多谢ts兄,e17确实是不错的哦!呵呵!我觉得它的动态桌面让人感到一阵新鲜!
|
hehe, you are more than welcome. Enjoy! |
|
Back to top |
|
|
ts Tux's lil' helper
Joined: 15 Dec 2004 Posts: 97
|
Posted: Mon May 23, 2005 5:45 pm Post subject: |
|
|
faint, 你是斑竹,而且玩 gentoo ,赶紧装宽带啊,要不就少了很多乐趣呢。 |
|
Back to top |
|
|
EricHsu Bodhisattva
Joined: 03 May 2004 Posts: 591 Location: Aragon Consulting Group, Beijing, China
|
Posted: Tue May 24, 2005 6:18 am Post subject: |
|
|
ts wrote: |
faint, 你是斑竹,而且玩 gentoo ,赶紧装宽带啊,要不就少了很多乐趣呢。 |
刚工作, 还欠着一屁股债, 深圳的宽带好贵啊!!!! 200 元/月!!! (下行 2M, 上行 512K...)
盘算着把电脑拉公司里来, hoho
BTW, 我又犯错误了, 刚才不小心把 "引用" 点成 "编辑" (俩摁钮靠太近了...), 然后成了编辑你的帖子... 赶紧恢复之... _________________ - http://nkbit.com
- http://twitter.com/xuyihua |
|
Back to top |
|
|
vliqi n00b
Joined: 27 Feb 2004 Posts: 28
|
Posted: Wed May 25, 2005 5:49 am Post subject: |
|
|
我装evas的时候USE="sse"不能通过,使用了USE="-sse",不知道有多大影响,你们碰到这个问题了吗 ?
我在使用那个“雾气腾腾”的动态页面做背景的时候很慢
pentium4 3.0G
2G内存
GeForce6200显卡 _________________ Who love life will love free |
|
Back to top |
|
|
ts Tux's lil' helper
Joined: 15 Dec 2004 Posts: 97
|
Posted: Wed May 25, 2005 4:12 pm Post subject: |
|
|
vliqi wrote: | 我装evas的时候USE="sse"不能通过,使用了USE="-sse",不知道有多大影响,你们碰到这个问题了吗 ?
我在使用那个“雾气腾腾”的动态页面做背景的时候很慢
pentium4 3.0G
2G内存
GeForce6200显卡 |
好机器啊!
我没用 SSE,因为我的 cpu 是 AMD 64 bit 的。那个背景只是用来做演示的,没多少实用意义。运行那个背景,需要占用我 cpu 80-88% 的资源。 |
|
Back to top |
|
|
EricHsu Bodhisattva
Joined: 03 May 2004 Posts: 591 Location: Aragon Consulting Group, Beijing, China
|
Posted: Thu May 26, 2005 2:05 am Post subject: |
|
|
vliqi wrote: | 我在使用那个“雾气腾腾”的动态页面做背景的时候很慢
|
来自 http://www.get-e.org 上的一段
Quote: |
Layered sky
An animated sky background. This is a heavy technology showcase and thus likely takes too many CPU cycles to be used for other than testing purposes. Design by raster.
|
_________________ - http://nkbit.com
- http://twitter.com/xuyihua |
|
Back to top |
|
|
ts Tux's lil' helper
Joined: 15 Dec 2004 Posts: 97
|
Posted: Thu May 26, 2005 3:40 am Post subject: |
|
|
EricHsu wrote: |
来自 http://www.get-e.org 上的一段
Quote: |
Layered sky
An animated sky background. This is a heavy technology showcase and thus likely takes too many CPU cycles to be used for other than testing purposes. Design by raster.
|
|
cool,如数家珍。呵呵,这个 E17 也不知道什么时候正式发布啊,有时更新会遇上很不稳定的时候, |
|
Back to top |
|
|
ttian n00b
Joined: 08 May 2005 Posts: 4
|
Posted: Thu May 26, 2005 5:01 am Post subject: 你们的e17是什么样的? |
|
|
你们的e17是什么样的?我按照上面的说的来装,装好后进去只有两个窗口,像刚装好xorg-x11后startx进去看到的窗口一样?!!
怎么回事? |
|
Back to top |
|
|
ts Tux's lil' helper
Joined: 15 Dec 2004 Posts: 97
|
Posted: Thu May 26, 2005 1:59 pm Post subject: Re: 你们的e17是什么样的? |
|
|
ttian wrote: | 你们的e17是什么样的?我按照上面的说的来装,装好后进去只有两个窗口,像刚装好xorg-x11后startx进去看到的窗口一样?!!
怎么回事? |
ok, 想必你已经成功安装 e17 ,并且已把 entrance 设为登录管理器了。
你的问题是没选择 e17 窗口管理,进入了默认方式。当输入玩用户名和密码后,在按回车键之前,请按左下角一点点的 default 按钮选择 e17,然后回车,你应该就能看到 e17 是什么样了。 |
|
Back to top |
|
|
ttian n00b
Joined: 08 May 2005 Posts: 4
|
Posted: Fri May 27, 2005 4:49 am Post subject: 还是不行啊 |
|
|
还是不行啊,死活进不去!编译又没出错,
我看了好几遍ts说的方法,还有how-to,步骤没错,要改的也改好了,就是进不去,输入用户名和密码回车后,显视黑屏,中间有个X(鼠标),然后闪几下就又到回登陆界面(entrance),但登陆Gnome又行 |
|
Back to top |
|
|
ttian n00b
Joined: 08 May 2005 Posts: 4
|
Posted: Fri May 27, 2005 5:01 am Post subject: 终于行了 |
|
|
终于行了,给/etc/X11/Sessions/e17加上可执行属性就行了,ts跟HOW-TO那都好像没提到这个 |
|
Back to top |
|
|
ts Tux's lil' helper
Joined: 15 Dec 2004 Posts: 97
|
Posted: Fri May 27, 2005 1:53 pm Post subject: Re: 终于行了 |
|
|
ttian wrote: | 终于行了,给/etc/X11/Sessions/e17加上可执行属性就行了,ts跟HOW-TO那都好像没提到这个 |
sorry for the confusing info, thanks for your point, I revised the post according to your experience. |
|
Back to top |
|
|
EricHsu Bodhisattva
Joined: 03 May 2004 Posts: 591 Location: Aragon Consulting Group, Beijing, China
|
|
Back to top |
|
|
cls-jz n00b
Joined: 27 Dec 2004 Posts: 30
|
Posted: Tue May 31, 2005 6:04 am Post subject: |
|
|
是啊,偶尔发现鼠标在E17下乱飞!呵呵!
不过还是深深喜欢它的! _________________ 2.6.15-nitro3
IBM T43 (BH4)
Reiser4 E17 |
|
Back to top |
|
|
EricHsu Bodhisattva
Joined: 03 May 2004 Posts: 591 Location: Aragon Consulting Group, Beijing, China
|
|
Back to top |
|
|
ts Tux's lil' helper
Joined: 15 Dec 2004 Posts: 97
|
Posted: Thu Jun 02, 2005 1:27 am Post subject: |
|
|
cls-jz wrote: | 是啊,偶尔发现鼠标在E17下乱飞!呵呵!
不过还是深深喜欢它的! |
呵呵,选择 gentoo 不就是为了干这些的吗。你够 fancy,我还没来得及搞定 gcc 4.0.0 呢。 |
|
Back to top |
|
|
ts Tux's lil' helper
Joined: 15 Dec 2004 Posts: 97
|
Posted: Thu Jun 02, 2005 1:29 am Post subject: |
|
|
EricHsu wrote: | Rasterman 的网站上有更新啦! 他写了一个窗口管理器的性能测试工具雏形, 然后比较了 E17 和诸多其他管理器的性能差异 |
酷,这个周末有活干了,我要更新一下 E17 看看。呵呵 |
|
Back to top |
|
|
ts Tux's lil' helper
Joined: 15 Dec 2004 Posts: 97
|
Posted: Wed Jun 15, 2005 3:54 am Post subject: |
|
|
现在版本跳了一小大步,目前版本是 0.16.99.010
如果你想升级,现在是比较理想的时候,稳定性更好些。 |
|
Back to top |
|
|
EricHsu Bodhisattva
Joined: 03 May 2004 Posts: 591 Location: Aragon Consulting Group, Beijing, China
|
|
Back to top |
|
|
|