如果是7.10并安装好了稳定版的compiz,首先安装编译所需的包:
sudo apt-get install compiz-bcop compiz-dev build-essential
libxcomposite-dev libpng12-dev libsm-dev libxrandr-dev libxdamage-dev
libxinerama-dev libstartup-notification0-dev libgconf2-dev libgl1-mesa-dev
libglu1-mesa-dev libmetacity-dev librsvg2-dev libdbus-1-dev
libdbus-glib-1-dev libgnome-desktop-dev libgnome-window-settings-dev gitweb
curl autoconf automake automake1.9 libtool intltool libxslt1-dev xsltproc
emerald x11proto-scrnsaver-dev libxss-dev
然后下载各种plugin:
wget -O /tmp/3d.tar.gz
'http://gitweb.opencompositing.org/?p=fusion/plugins/3da=snapshot;h=db3c51d6
c5c0df268fc1ec29a4264ef3d21dbbb3'
wget -O /tmp/atlantis2.tar.gz
'http://gitweb.compiz-fusion.org/?p=users/smspillaz/atlantis2-0.6a=snapshot;
h=d50d17bcdef5a025699e6b1bc0d604a98d1b74b2;sf=tgz'
wget -O /tmp/snow.tar.gz
'http://gitweb.opencompositing.org/?p=fusion/plugins/snowa=snapshot;h=01d0ff
6ec71dae4699bc990e0114569c8ad4e083'
wget -O /tmp/stars.tar.gz 'http://oreaus.googlepages.com/stars.tar.gz
wget -O /tmp/atlantis.tar.gz
'http://gitweb.opencompositing.org/?p=fusion/plugins/atlantisa=snapshot;h=a4
7d7151444faccd66ea5cb884673cdebe5d7dff'
wget -O /tmp/screensaver.tar.gz
'http://gitweb.opencompositing.org/?p=users/pafy/screensavera=snapshot;h=656
5001eb389fb0d18cfead6030054cc8edc6c5f'
wget -O /tmp/anaglyph.tar.gz 'http://oreaus.googlepages.com/anaglyph.tar.gz
wget -O /tmp/wallpaper.tar.gz
'http://gitweb.compiz-fusion.org/?p=fusion/plugins/wallpapera=snapshot;h=c2d
19686e46ae171b6a0c04da9de1adbd74ae8be'
wget -O /tmp/tile.tar.gz
'http://gitweb.opencompositing.org/?p=fusion/plugins/tilea=snapshot;h=550c91
fa188efd39c9cea43f894b45716b5cc6d5'
wget -O /tmp/freewins.tar.gz 'http://oreaus.googlepages.com/freewins.tar.gz
wget -O /tmp/photowheel-0.6.tar.gz
'http://gitweb.opencompositing.org/?p=users/b0le/photowheela=snapshot;h=41d8
090b55b629f72bef55d785beaf468f31662f'
这里面是没有我用的Autumn的。虽然说Snow用起来也差不多,但我总觉得autumn的企鹅
飞地更加飘逸。去ubuntu的forum上有一个帖子上有autumn的下载,安装只需跑一个脚本
。以上的plugin都直接make就可以,都很酷,尤其是screensaver,不过与之后的话题没
太大关系。
帖子位置:
http://forum.ubuntu.org.cn/viewtopic.php?t=89199
装好之后,在Advanced Desktop Effect Settings里面就可以看到Autumn的选项,图标
是一个树叶的话就基本没有问题了。默认的情况下飞的是树叶,但具体飞什么图是由tex
ture决定的,但是在GUI的情况下,一次只能增加一张图,所以像我这种使用一大堆TUX
图片作为texture的人,每重装一次就很郁闷。所以有一个更爽的方法:
首先把当前的profile输出到一个文件里,在里面可以找到[autumn]这一项,as_leaf_te
xtures =这个后面加上所有的图片地址,并使用;隔开。下面这个脚本可以自动将一个文
件夹内所有的图片地址都输出成需要的格式(替换相应的图片文件夹地址):
#!/usr/bin/python
from os import listdir
image_list = listdir('/home/yuanlei/Pictures/Compiz_Related/Crystal_Tux')
str = ''
for file in image_list:
str = str + '/home/yuanlei/Pictures/Compiz_Related/Crystal_Tux/' + file
+ ';'
print str
然后,再把改过的profile文件import进去...
2009年2月8日星期日
让Ubuntu满天飞Tux:-)
订阅:
博文评论 (Atom)
没有评论:
发表评论