Ubuntu 7.04下BERYL安装过程非常简单
1、系统认出显卡后会自动安装驱动;
2、安装beryl,注意系统默认不会安装beryl-manager,这个一定要安装上去,要不出来的窗口全都没有窗口管理器;安装emerald和emerald-themes;
3、执行nvidia-xconfig,可以自动生成xorg.conf。
然后把beryl-manager加到“对话”内,每次登录就能自动启动了。最好也把emerald-themes安装上去,这样可以选择不同的窗口主题。
4、下雪插件包:beryl-plugins-unsupported
下图为beryl的水纹效果图:
1.第一步当然是安装好显卡驱动:)
2.安装必须的包(前提是将我的源列表加入到你的列表当中)
sudo apt-get install xgl-server beryl emerald-themes
3.
sudo vi /usr/local/bin/startxgl.sh
#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
cookie=”$(xauth -i nextract – :0 | cut -d ‘ ‘ -f 9)”
xauth -i add :1 . “$cookie”
exec dbus-launch –exit-with-session gnome-session
保存退出
sudo vi /usr/local/bin/start_beryl.sh
#!/bin/bash
#
# Start beryl-manager within gnome-session
#
if (( `ps -A -o comm | grep -c ‘^Xgl$’` == “1” )); then
DISPLAY=:1 beryl-manager
DISPLAY=:1 beryl-xgl
else echo “${0}: Error: beryl-manager not launched. Xgl not running?”
fi
保存退出
sudo vi /usr/share/xsessions/xgl.desktop
[Desktop Entry]
Encoding=UTF-8
Name=GNOME with XGL
Comment=
Exec=/usr/local/bin/startxgl.sh
Icon=
Type=Application
保存退出
sudo vi /etc/xdg/autostart/beryl.desktop
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name[en_US]=Beryl
Exec=/usr/local/bin/start_beryl.sh
Icon[en_US]=/usr/share/icons/hicolor/scalable/apps/beryl-manager.svg
Comment[en_US]=Beryl 3D Manager
Name=Beryl
Comment=Beryl 3D Manager
Icon=/usr/share/icons/hicolor/scalable/apps/beryl-manager.svg
保存退出
4.
cp /etc/xdg/autostart/beryl.desktop /usr/share/applications/beryl.desktop
5.
chmod a+x /usr/local/bin/startxgl.sh
chmod a+x /usr/share/xsessions/xgl.desktop
chmod a+x /usr/local/bin/start_beryl.sh
6.重新启动即可