LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 3436|回复: 9

如何使用compiz?

[复制链接]
发表于 2007-11-18 13:07:21 | 显示全部楼层 |阅读模式
我安装了compiz

安装命令是#apt-get install compiz

然后修改了我的xorg.conf

现在的xorg.conf内容如下:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load        "bitmap"
        Load        "ddc"
        Load        "dri"
        Load        "extmod"
        Load        "freetype"
        Load        "glx"
        Load        "int10"
        Load        "vbe"
EndSection

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "kbd"
        Option                "CoreKeyboard"
        Option                "XkbRules"        "xorg"
        Option                "XkbModel"        "pc104"
        Option                "XkbLayout"        "us"
EndSection

Section "InputDevice"
        Identifier        "Configured Mouse"
        Driver                "mouse"
        Option                "CorePointer"
        Option                "Device"                "/dev/input/mice"
        Option                "rotocol"                "ImPS/2"
        Option                "Emulate3Buttons"        "true"
EndSection

Section "Device"
        Identifier        "nVidia Corporation G70 [GeForce 7300 GT]"
        Driver                "nv"
        BusID                "CI:1:0:0"
        VideoRam        131072
        Option "XAANoOffscreenPixmaps" "true"
EndSection

Section "Monitor"
        Identifier        "Sync Master 796MB+"
        Option                "DPMS"
        HorizSync        30-85
        VertRefresh        50-160
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "nVidia Corporation G70 [GeForce 7300 GT]"
        Monitor                "Sync Master 796MB+"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1024x768"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1024x768"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1024x768"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1024x768"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1024x768"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1024x768"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Default Screen"
        InputDevice        "Generic Keyboard"
        InputDevice        "Configured Mouse"
EndSection

Section "DRI"
        Mode        0666
EndSection

Section "Extensions"
        Option "Composite" "enable"
EndSection

但是没有成功运行compiz

我在命令行输入$compiz

显示如下:

GLX_EXT_texture_from_pixmap is available with direct rendering.
/usr/bin/compiz.real (core) - Error: Screen 0 on display ":0.0" already has a window manager; try using the --replace option to replace the current window manager.
/usr/bin/compiz.real (core) - Fatal: No manageable screens found on display :0.0

我输入compiz --replace结果屏幕变白了

无奈只能重新启动

我的显卡是nvidia g7300显存是128Mb

虽然是入门级别的显卡

但是应该能行啊

高手指点一下,感激不尽。
发表于 2007-11-18 13:33:44 | 显示全部楼层
你用的什么源?请参照wiki来做。
http://wiki.compiz-fusion.org/
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-18 13:45:55 | 显示全部楼层
我使用的是中科大的。

我先看看官方的安装说明。
回复 支持 反对

使用道具 举报

发表于 2007-11-18 13:47:37 | 显示全部楼层
昨晚开始也在研究这个,
等有成果了来给你分享。

你的显卡还是入门,我的就什么都不是了,呵呵
我的以前UBUNTU704都玩的起
回复 支持 反对

使用道具 举报

发表于 2007-11-18 15:52:23 | 显示全部楼层
科大的源里的compiz根本都不是compiz-fusion,compiz经历过beryl的分家,然后又合并成compiz-fusion,你现在应该知道源上的那个compiz是多古老的东西吧~~~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-18 18:12:10 | 显示全部楼层
。。。。。。
回复 支持 反对

使用道具 举报

发表于 2007-11-19 09:38:27 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2007-11-19 12:56:46 | 显示全部楼层
试试用下面的命令:
LIBGL_ALWAYS_INDIRECT=true compiz --replace --indirect-rendering ccp
回复 支持 反对

使用道具 举报

发表于 2007-11-20 02:31:19 | 显示全部楼层
还差很多东西,ubuntu.cn有很多贴。

转发台湾一位高手写的对初学者的一篇好文,关于3 D 桌面
http://www.mobile01.com/newsdetail.php?id=4006
回复 支持 反对

使用道具 举报

发表于 2008-1-22 04:07:10 | 显示全部楼层
二楼的回帖非常有帮助啊!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表