Xgl is an X server architecture, started by David Reveman, layered on top of
OpenGL via glitz. It takes advantage of modern graphics cards via their
OpenGL drivers, supporting hardware acceleration of all X, OpenGL and XVideo
applications and graphical effects by a compositing window manager such as
Compiz. It is, as of February 2006, in the early stages of production and in
need of lower-level OpenGL drivers.
1.Enable the universe repository (see AddingRepositoriesHowto)
2.Make sure that you have the latest mesa, libglitz1 and libglitz-glx1,xserver-xgl
sudo aptitude update
sudo aptitude install libgl1-mesa libglitz1 libglitz-glx1 xserver-xgl
3.Install compiz-kde and/or compiz-gnome depending on your desktop
sudo aptitude install compiz-gnome
4.Replace /etc/X11/X with a symlink to /usr/bin/Xgl
sudo ln -sf /usr/bin/Xgl /etc/X11/X
5.Close all applications and restart gdm (This will log you out, consider this
your cue to print these instructions!)
sudo /etc/init.d/gdm restart
6.Log in, then in a terminal start compiz and the Gnome window decorator
(do NOT use sudo here)
compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher
nohup gnome-window-decorator &
Add these commands to ~/.gnomerc if you want this on every login (which you
probably do)
這樣做完之後就會有漂亮的 GNOME 啦!!!他的效果有 MAC 味(大心)
--
Reference:
http://en.wikipedia.org/wiki/Xgl
https://wiki.ubuntu.com/XglHowto
1 則留言:
這東西實在太豪洨了。撥放中的影片可以做 translucency,好幾個影片還可以一起
疊疊樂做 translucency....
alt + tab 的 Task switcher 連 M$ 的 Power Toys 都比下去,他是 Live
thmbnalis...很難理解嗎?就想像你在用 alt + tab 切換視窗的時候,那個小圖示
變成你的視窗內容,就那麼簡單嗎?NO!! 如果你的視窗再放電影,那個小圖示就會
變成撥放中的電影.....
連 QUAKE 3 的畫面都拿來 translucency....
好屌........
--
好像是舊文了@@
張貼留言