posts - 35,  comments - 8,  trackbacks - 0
1、安装显卡驱动,启动3D特效。详细操作参见相关随笔
2、安装beryl和emeraid:

Installing the Beryl Packages

Beryl on Edgy Eft

Install the following packages:

sudo apt-get install beryl emerald-themes

Note: Beryl is a metapackage that will install all the dependencies (beryl-core, beryl-plugins, beryl-manager, beryl-settings) and also the decoration themes (emerald but not emerald-themes).

Beryl on Dapper Drake

Install the following packages:

sudo apt-get install xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 beryl emerald-themes

Note: Beryl is a metapackage that will install all the dependencies (beryl-core, beryl-plugins, beryl-manager, beryl-settings) and also the decoration themes (emerald but not emerald-themes).

Beryl on Feisty Fawn

Install the following packages:

sudo apt-get install beryl

Note: Beryl is a metapackage that will install all dependencies and decoration themes).


Starting Beryl

Now it's time to test Beryl. Open a terminal, and invoke:

beryl-manager

If all goes well, Beryl should show a splash screen, and your windows will suddenly become wobbly! Also note that there is a new icon, a red gem, in your system tray - this allows you to control Beryl, run the Beryl settings manager or Emerald (the theme manager). It also provides fallback to a different window manager, in case Beryl crashes (remember Beryl is very much alpha software).

If you don't get a splash screen immediately, you may need to tell the manager to load Beryl - right-click on the icon in the system tray, go to "Select Window Manager" and choose "Beryl". If that doesn't work, there's a problem somewhere! Hopefully, useful debugging output will be in the terminal session; ask for help on the #ubuntu-xgl or #xgl channels on irc://irc.freenode.net/

Making Beryl start automatically when you log in (GNOME)

From the menu at the top of your screen, select "System > Preferences > Sessions". Click on the right-most tab, "Startup Programs".

Now create a new entry for beryl:

beryl-manager

Close the Session Preference Panel. Beryl will now start automatically when you log in.

Troubleshooting

If you find that you cannot set icon or gtk themes while using beryl with Xgl on display :1, invoke the following command in a terminal:

gnome-settings-daemon &

Your chosen theme should now appear.

source: [WWW] link, [WWW] link

The console message

beryl: water: GL_ARB_fragment_program is missing

points to an OpenGL extension that your card cannot use. Simply switch off the water effect in the Beryl Settings Manager.

source: [WWW] link

You might find that when you try to start beryl that you get the following:

chris@ubuntu:~$ beryl
**************************************************************
* Beryl system compatiblity check *
**************************************************************

Detected xserver : XGL

Checking Display localhost:1.0 ...

Checking for XComposite extension : passed (v0.3)
Checking for XDamage extension : passed
Checking for RandR extension : passed
Checking for XSync extension : passed

beryl: GLX_EXT_texture_from_pixmap is missing
beryl: Using non-tfp mode
beryl: GLX_SGIX_fbconfig is missing
beryl: Failed to manage screen: 0
beryl: No manageable screens found on display localhost:1.0

I fixed this by creating the following shell script in /usr/local/bin/start-beryl and adding it to the startup programs in Gnome.

#!/bin/bash
LD_PRELOAD=/usr/lib/fglrx/libGL.so.1.2.xlibmesa /usr/bin/beryl &
gtk-window-decorator --replace &
xmodmap -e \"keycode 22 = BackSpace Delete\"

Many thanks to [WWW] Michele Campeotto, who discovered this workaround for compwiz. From Michele's page:

"the problem is that ATI hasn’t yet released a driver with that new extension that Novell and Nvidia developed specifically for Xgl and compiz.

The extension is implemented by Mesa though, so we need get compiz to use that. The problem is that when you install the fglrx driver it overwrites /usr/lib/libGL.so.1.2 with its own version wich lacks this feature."



posted on 2007-05-30 22:18 J2EE 阅读(467) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航:
 

<2007年5月>
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

常用链接

留言簿(2)

随笔档案

文章档案

搜索

  •  

最新评论

阅读排行榜

评论排行榜