kubuntu6.06上安装xgl的简易教程

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
hethe
帖子: 3666
注册时间: 2005-08-01 9:14

kubuntu6.06上安装xgl的简易教程

#1

帖子 hethe » 2006-07-05 17:50

长久以来一直想在kde上实现xgl,但苦于尝试网上多种版本的解决方法都以失败告终。
本文基本是按照http://www.ubuntuforums.org/showthread.php?t=186200,和http://www.ubuntuforums.org/showthread.php?t=1 ... xgl这两个帖子写的,在我的电脑上表现完美,拿来与大家分享。在此感谢这两位达人的贡献。
首先升级compiz等组件:
deb http://xgl.compiz.info/ dapper main
deb-src http://xgl.compiz.info/ dapper main
deb http://www.beerorkid.com/compiz/ dapper main
获取Quinn's key
wget http://www.beerorkid.com/compiz/quinn.key.asc -O - | sudo apt-key add -
然后安装最新的驱动和compiz组件:
sudo apt-get install nvidia-kernel-common nvidia-glx compiz xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 compiz-gnome compiz-kde gconf-editor gset-compiz
在/etc/X11/xorg.conf中,注销Load "GLcore"和“dri”保证载入"glx"。
# Load "GLcore"
# Load "dri"
Load "glx"
并且修改驱动板块如下(仅限nvidia用户,ati的就不晓得了):
Section "Device"
Identifier "YourCardHere" <-- 此处不要修改
Driver "nvidia" <--此处一定要改成这样的
BusID "PCI:1:0:0"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
EndSection
然后在文件最后加上:
Section "Extensions"
Option "Composite" "Enable"
EndSection
修改默认X:
sudo ln -sf /usr/bin/Xgl /etc/X11/X
修改/etc/kde3/kdm/kdmrc

nvidia:
ServerCmd=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo
ati:
ServerCmd=/usr/bin/Xgl :1 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer
然后生成启动文件 /home/yourUSERNAME/.kde/Autostart/xgl,写入:
#!/bin/bash
compiz --replace gconf decoration dock wobbly fade minimize cube rotate zoom scale move resize place state switcher trailfocus water bs widget & gnome-window-decorator & xmodmap -e "keycode 22 = BackSpace"
sudo chmod 755 /home/yourUSERNAME/.kde/Autostart/xgl
OK,重启X,
CTRL + ALT + Left/right arrow key. Switches to the new side of the cube for me.
CTRL + ALT + SHIFT + Left/Right arrow key- Takes the in focused app around cube.
CTRL + ALT + Left Click on Desktop - allows you to use the mouse to rotate cube.
F12 - uses the Expose like trick
Alt- Tab - switcher Vista-style
感觉新的3D桌面如何?
上次由 hethe 在 2006-07-19 17:21,总共编辑 3 次。
Gedanken ohne Inhalt sind leer .Anschauungen ohne Begriffe sind blind.
yongyi
帖子: 3025
注册时间: 2005-05-07 23:57
联系:

#2

帖子 yongyi » 2006-07-05 21:17

帖图......
有兴趣的兄弟可以试试呀!
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
hfh
帖子: 22
注册时间: 2005-04-17 22:47

#3

帖子 hfh » 2006-07-12 15:28

compiz-gnome gconf-editor gset-compiz为什么还需要装这个些东西啊


还有这里
#!/bin/bash
compiz --replace gconf decoration dock wobbly fade minimize cube rotate zoom scale move resize place state switcher trailfocus water bs widget & gnome-window-decorator & xmodmap -e "keycode 22 = BackSpace"



为什么还是 gnome-window-decorator啊 怎么不是kde-window-decorator呢
头像
hethe
帖子: 3666
注册时间: 2005-08-01 9:14

#4

帖子 hethe » 2006-07-12 18:14

嘿嘿,我开始装的时候也很郁闷,只是compiz+xgl技术最早是在gnome平台上发布的,kde-window-decorator还在早期开发中……
无奈阿……
不过其实使用没有任何区别的,也不影响性能,反正都是GPL,没必要那么界限分明吧。

yongyi兄呼吁贴图,就贴一张:
附件
2.png
Gedanken ohne Inhalt sind leer .Anschauungen ohne Begriffe sind blind.
hfh
帖子: 22
注册时间: 2005-04-17 22:47

#5

帖子 hfh » 2006-07-18 23:37

kde等程序的标题栏没有了
该怎么搞出来阿
头像
hethe
帖子: 3666
注册时间: 2005-08-01 9:14

#6

帖子 hethe » 2006-07-19 17:28

hfh 写了:kde等程序的标题栏没有了
该怎么搞出来阿
如果是刚刚装好就这样,可以试试在桌面切换器中拖拽一下窗口,我就是这样弄出来的:)
Gedanken ohne Inhalt sind leer .Anschauungen ohne Begriffe sind blind.
hfh
帖子: 22
注册时间: 2005-04-17 22:47

#7

帖子 hfh » 2006-07-19 20:54

谢谢 我去试一下
hfh
帖子: 22
注册时间: 2005-04-17 22:47

#8

帖子 hfh » 2006-07-21 18:41

不行阿
郁闷
lindazhang
帖子: 34
注册时间: 2006-03-03 10:34

#9

帖子 lindazhang » 2006-09-03 16:07

hfh 写了:kde等程序的标题栏没有了
该怎么搞出来阿

......—〉“任务条”—〉“显示程序图标”,选中它
kcsn
帖子: 30
注册时间: 2006-09-01 21:41

#10

帖子 kcsn » 2006-09-05 12:25

最想知道的问题是,如果要取消该怎么做
seine
帖子: 26
注册时间: 2006-11-26 20:31

#11

帖子 seine » 2006-11-28 19:10

这个3D桌面是干什么用的?
dongxiong
帖子: 52
注册时间: 2006-09-20 11:21
来自: 上海

#12

帖子 dongxiong » 2007-02-20 2:17

支持到底
我是个菜鸟,希望能走的快点/./././././././././././
ooooo oooooo
,.,.,.,.,.,.,.,.
ooo ooo
=-=-=-=-=-=-=
\\\ \\\
头像
magisu
帖子: 202
注册时间: 2005-12-31 21:23

#13

帖子 magisu » 2007-02-20 21:04

faint,跳钢管舞啊?
回复