LinuxSir.cn,穿越时空的Linuxsir!

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

我的xfce窗口怎么不能透明?

[复制链接]
发表于 2007-9-29 04:41:54 | 显示全部楼层 |阅读模式
在xfwm 的window tweaks 里面找不到Composite这一项。
好像是要打开xorg的什么扩展吧,怎么打开呢?
发表于 2007-9-29 05:32:31 | 显示全部楼层
在xorg.conf中添加:
Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "All"
    BoardName      "All"
    Option         "TripleBuffer" "True"                     # add  this line
    Option         "AddARGBGLXVisuals" "True"              # add this line
    Option         "RenderAccel" "True"                     # add  this line
    Option         "AllowGLXWithComposite" "True"           # add this line
    Option          "DisableGLXRootClipping" "True"           #add  this line
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       1
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       32
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    Option          "AddARGBGLXVisuals" "True"               # add this line
    Option          "DisableGLXRootClipping" "True"             # add this line
EndSection

#======add this section=====
Section "Extensions"
    Option "Composite" "Enable"
EndSection
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-9-29 10:32:14 | 显示全部楼层
我的是ati卡,把那个Option "TripleBuffer" "True"加上之后启动不了阿。
这个是什么意思阿?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-9-29 10:35:38 | 显示全部楼层
哦,我可以启动了,但是在window tweak 里面还是没有Composite这项。什么原因呢?
回复 支持 反对

使用道具 举报

发表于 2007-9-29 20:38:35 | 显示全部楼层
我只加了

Section "Extensions"
Option "Composite" "Enable"
EndSection
回复 支持 反对

使用道具 举报

发表于 2007-9-30 09:14:04 | 显示全部楼层
以前遇到过,以前是源里面的xfwm4-svn默认没有打开composite
我当时是自己下个xfwm4-svn打包解决的
不知道现在是不是还是这样
http://aur.archlinux.org/package ... mp;SO=&
回复 支持 反对

使用道具 举报

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

本版积分规则

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