Chinaunix首页 | 论坛 | 博客
  • 博客访问: 104603669
  • 博文数量: 19283
  • 博客积分: 9968
  • 博客等级: 上将
  • 技术积分: 196062
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-07 14:28
文章分类

全部博文(19283)

文章存档

2011年(1)

2009年(125)

2008年(19094)

2007年(63)

分类: LINUX

2008-05-28 08:50:05

Fedora 8中完全开启compiz-fusion特效

之前发的方法必须手动运行emerald --replace才能更换主题,因此我做了改正和更新
1.下载,并安装好
2.关闭桌面效果
3.sudo gedit /usr/bin/compiz-manager
注释掉红色部分
代码:
# start the gtk-window-decorator if present
if [ -x ${COMPIZ_BIN_PATH}emerald ] && [ "$USE_EMERALD" = "yes" ]; then
verbose "Starting emerald\n"
${COMPIZ_BIN_PATH}emerald --replace &
#elif [ -x ${COMPIZ_BIN_PATH}gtk-window-decorator ] && [ -n "$GNOME_DESKTOP_SESSION_ID" ]; then
# verbose "Starting gtk-window-decorator\n"
# ${COMPIZ_BIN_PATH}gtk-window-decorator --replace &
#elif [ -x ${COMPIZ_BIN_PATH}kde-window-decorator ] && [ -n "$KDE_FULL_SESSION" ]; then
# verbose "Starting kde-window-decorator\n"
# ${COMPIZ_BIN_PATH}kde-window-decorator --replace &
# FALLBACKWM="${KWIN}"

elif [ -x ${COMPIZ_BIN_PATH}emerald ]; then
verbose "Starting emerald\n"
${COMPIZ_BIN_PATH}emerald --replace &
保存退出。
4.然后,系统->首选项->个人->会话
添加compiz-manager,其他如名字和备注可自定义
5.注销后重新登录
6.打开emerald主题设置和compiz-config setting manager进行设置

打完收功!

之前发的方法必须手动运行emerald --replace才能更换主题,因此我做了更新,这个方法比较暴力,强行指定了emerald作为主题管理器,如果只是想compiz-fusion特效不想使用emerald改主题,则不必进行第3步.

另外,hers的方法我还是不太明白,能否给稍微解释一下,我在网上找到了一些资料跟你说的差不多,不过也是一笔带过了:
"Compiz is installed by default but not enabled. To actually enable Compiz requires a simple click within the Desktop Effects application. Once activated, Compiz works well, but offers a limited amount of features. The only settings you get with Desktop Effects is Desktop Cubes and Wobbly Windows. There’s also a more advanced Gnome Compiz Manager available via Pirut, but even that gives only a limited amount of choices when compared with Compiz Fusion. With that said, Fedora has Compiz Fusion available in their repositories and, as of today, just added ccsm (compizconfig settings manager) in their updates -testing repository. Because ccsm is still being tested, you can expect some bugs in the program until it is moved into the regular updates repo. In order to get ccsm working I did have to do my own workaround. Fedora’s gnome-wm script would launch compiz with the gconf plugin rather than ccp, which prevented compiz fusion from running normally. A basic edit of gnome-wmf did the trick (gedit /usr/bin/gnome-wm & replace the line that has “gconf” with “ccp”). Once that was done Compiz Fusion was ready to go and made Fedora 8 even better." ——From:

打完收功!



本文为原创,如有错误,欢迎指出,谢谢!
欢迎转载,转载请保留作者和链接,谢谢!
gcell - http://gcell.blog.163.com/
阅读(479) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~