Ubuntu7.10中3D桌面欣赏
最新的nvidia的显卡驱动已经直接支持Ubuntu7.10下的3D特效,xorg7.1也取代了之前xgl的作用可以直接支持compiz.所以在 edgy 里面安装新的3D桌面特效非常容易,并且之前的compiz分裂成为两个,我们现在使用beryl这个速度更快,支持特效更多,而novell的官方 compiz,更新缓慢,已经淡出人们的视线了.
注意: 本文提到的 edgy,nvidia显卡驱动,beryl 都是beta版,处于开发状态,有任何问题请自己负责,请注意这一点.
首先保证你的系统是最新的.
sudo apt-get install kubuntu-desktop (ubuntu-desktop / xubuntu-desktop)
sudo apt-get update
sudo apt-get dist-upgrade
添加beryl和nvidia最新驱动的源
deb http://www.beerorkid.com/compiz edgy main-edgy
deb http://media.blutkind.org/xgl/ edgy main-edgy
deb http://compiz-mirror.lupine.me.uk/ edgy main-edgy
deb http://ubuntu.compiz.net/ edgy main-edgy
deb http://dev.realistanew.com/beryl edgy beryl
安装 数字签名 (由于这是非官方的源,安装了数字签名,之后就不会出现包没有认证的问题了,当然不安装也没有问题)
wget http://www.beerorkid.com/compiz/quinn.key.asc -O – | sudo apt-key add –
wget http://media.blutkind.org/xgl/quinn.key.asc -O – | sudo apt-key add –
wget http://compiz-mirror.lupine.me.uk/quinn.key.asc -O – | sudo apt-key add –
wget http://ubuntu.compiz.net/quinn.key.asc -O – | sudo apt-key add –
更新包索引
sudo apt-get update
安装nvidia显卡驱动
sudo apt-get install nvidia-glx libxorg-sched-yield-hack0
sudo apt-get upgrade
让显卡驱动生效
sudo nvidia-xconfig
sudo apt-get install beryl-core beryl-plugins beryl-plugins-data emerald beryl-settings beryl-manager beryl beryl-dev emerald-themes
修改/etc/X11/xorg.conf(intel集成显卡的可以不用改,我就没改)
把下面的代码添加到 Screen 节点
# Enable 32-bit ARGB GLX Visuals
Option “AddARGBGLXVisuals” “True”
# If you are using an older version of compiz that
# does not support rendering into the Composite
# Overlay Window, you will need to disable clipping
# of GLX rendering to the X Root window with this
# option, or you will get a blank screen after
# starting compiz:
Option “DisableGLXRootClipping” “True”
把下面的代码添加到Device节点
Option “TripleBuffer” “true”
好,重启你的机器,注意是重启机器,不是重启X!
进入系统后,在运行(alt + F2)里面输入,或者在终端里面输入 beryl-manager ,就可以启动beryl了,会在系统托盘有个图标,里面可以选择theme等东西,自己配置着玩吧.
附:交大源
deb http://ftp.sjtu.edu.cn/Ubuntu/ edgy main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-updates main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu-cn/ edgy main multiverse restricted universe
几个基本的快捷键
CTRL + ALT + Left/right arrow key. Switches to the new side of the cube.
CTRL + ALT + SHIFT + Left/Right arrow key- Takes the in focused app around cube.
CTRL + ALT + Hold Left Mouse Button – allows you to use the mouse to rotate cube.
ALT-TAB – Task switcher – choose a task on the current side of the cube
CTRL-ALT-TAB – Task Switcher – choose a task on ALL sides of the cube