发新话题
打印

Mandriva 2006实现XGL方法

Mandriva 2006实现XGL方法

Mandriva 2006实现XGL方法

have the full features Xgl from mandriva :

1.configure the club_club repositorie (go on mirror finder to do that), then :
Code:
urpmi gnome-desktop gnome-panel gnome-control-center mdk-check-update-gnome gnome-themes-extras gnome-session gnome-menus gnome-audio-extra gnome-common GConf2
and some other. Some rpms have wrong or none gpg keys, it is not very importante here. install them, all. Add some other rpm if you want to be sure Gnome is entirely functionnal.

1.5 Open one time gnome and verify it works fine[you could create a new user if you want (to test first time)]

2.configure the Xgl mandriva repositorie
Code:
urpmi.addmedia Xgl-mdv http://people.mandriva.com/~vguardiola/xgl/ with hdlist.cz


3.install xgl.
Code:
urpmi compiz-xgl-compat xgl-cvs-060225-0.0.1-2 xorg-xgl-compat-2006-1.0-1 libcairo-xgl-compat-1.0.2-1 libdrm-xgl-compat-2.0-1 libglitz-xgl-compat-0.5.4-1 libsvg-cairo-xgl-compat-0.1.6-1 libsvg-xgl-compat-0.1.4-1 mesa-xgl-compat-2006-1.0-1


4. stop X and dm. in root :
Code:
service dm stop


5. start Gnome in Xgl, in simple user (!! user !! not root), just :
Code:
startxgl


that s all Smile

Xgl comes with full features pre-configured ! no need to configure nothing (not like other distro). Click on little 'desktop manager' on right bottom bar and turn the desktop. (or crtl+alt+mouse clicks !). Move windows : they are .. funies ... Open a video, it is work ! open other 3d applx (as a game -nexuiz not fullscreen?- or blender) : works fine !!! (so, we have the most beautifull xgl configuration out-of-the-box). And configure with a very good startxgl on mandriva, as our startgnome or stratkde, to launch desktop entirely rootless -without dm-)

yeah mandriva rox.
but.. you wan,t now, have kde with Xgl ?
hehehe.. simple edit the lanuch'script and change the order. Open startxgl script and place this one in : DISPLAY=:1 startkde & (turn off DISPLAY=:1 startgnome & with an # before). but Xgl is construct for gnome, not for kde. So launch kde risks bugs...

Xgl ? we want ? we have !

6. turn off desktop session ? not need 'quit' option menu. Please use Ctrl+Alt+backspace.

[now, dont forget about the true reality of :
desktop depends of propriataries drivers...
proprietaries drivers are not a solution (please read kernel mailing list to have an idea why).. so, on desktop...

some very interesting documentation and reflexion from one dev, to read, is here :
http://dri.freedesktop.org/~jonsmirl/graphics.html (discussion about this article could be found in our forum, old Wink ...)
and Mandriva do, again, a good choice : Xegl.
but for now, have fun with Xgl
Thanks mandriva team.
还有一个参考网址
http://qa.mandriva.com/twiki/bin/view/Main/XglHowTo

本文由hew 发布于Linuxsky 论坛,网址:http://bbs.linuxsky.org/thread-4084-1-1.html

你的鼓励,我的动力.
做人厚道,看贴回贴.
my linux blog

TOP

从mandriva获取Xgl全部特性的方法:


1.设置club_club位置(用镜像查找器),然后编码:(问:在哪个文件上编?或在什么环境下发这个指令?)

urpmi gnome-desktop gnome-panel gnome-control-center mdk-check-update-gnome gnome-themes-extras gnome-session gnome-menus gnome-audio-extra gnome-common GConf2
以及其他的,有些rpm安装包有错或无gpg码,在这里无关紧要。完全安装它们。如果你希望Gnome功能齐全,就添加一些其他的rpm。

1.5  启动一次gnome,并确认其工作正常(如果你愿意你可以创建一个用户以便第一次测试)


2. 设置Xgl mandriva位置
指令编码:
urpmi.addmedia Xgl-mdv http://people.mandriva.com/~vguardiola/xgl/ with hdlist.cz


3.install xgl.
3.安装 Xgl
指令编码:
urpmi compiz-xgl-compat xgl-cvs-060225-0.0.1-2 xorg-xgl-compat-2006-1.0-1 libcairo-xgl-compat-1.0.2-1 libdrm-xgl-compat-2.0-1 libglitz-xgl-compat-0.5.4-1 libsvg-cairo-xgl-compat-0.1.6-1 libsvg-xgl-compat-0.1.4-1 mesa-xgl-compat-2006-1.0-1



4. 停止Xserver和dm,在root用户环境:
指令编码:
service dm stop

5. 在Xgl中启动Gnome,用一般用户,不要用root,如下:
指令编码:
startxgl

完成, ;)

Xgl带有预设置的全特性!不用再设置了(原文:no need to configure nothing --病句啊。改:No more configuration is needed),不像其他Linux发行版,还需要设置这设置那。点击右键菜单条上的“桌面管理器”,切换桌面,或用ctrl+alt+mo并点击,移动窗口:它们。。。太有趣了。。打开一个视频,工作正常!打开其他的 3D Applix(一个游戏不用全屏?或折叠?)工作很棒!这样,犹如探囊取物一样我们就轻松搞定了这最漂亮的Xgl设置。和原来的startgnome、startkde一样,我们用startxgl就完全启动(Xgl的)桌面了-非root,无dm。

---

耶,mandriva rox(一种在mandriva上运行的桌面系统)
但,你可能想,KDE有Xgl?

hehe。。简单地修改启动脚本launch‘script 并改变其顺序,打开startxgl script脚本,放这行进去:
DISPLAY=:1 startkde  
(在行前加一个#号关掉 DISPLAY=:1 startgnome ).
但Xgl是为Gnome构建的,不是为KDE而构建的,故运行KDE可能会有一些危险的疤疙(bugs)。


Xgl? 我们需要?我们拥有!

6. 关闭桌面会话?不用“quit”选项菜单,请用ctrl+alt+backspace组合键。

好啦,别忘了这个事实:
桌面性能依赖于驱动的恰当。。。而恰当的驱动不足解决问题,(请查看kernel的邮件列表,以了解为什么这么说)。。。这就是桌面。。。

从一些非常有趣的文档中可以管中窥豹,地址:
http://dri.freedesktop.org/~jonsmirl/graphics.html (在我们的论坛上可以看到本文的讨论.)


mandriva又搞了个好选择:Xegl,但现在还是玩Xgl吧。感谢mandriva团队。

还有一个参考网址
http://qa.mandriva.com/twiki/bin/view/Main/XglHowTo

TOP

发新话题