zoukankan      html  css  js  c++  java
  • CentOS 5 安装compiz后标题栏丢失的解决办法

    这个问题曾经困扰着我,现在我通过修改 xorg.conf 解决了.1 "gedit /etc/X11/xorg.conf":
    2 Code:
    3 # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    4 # nvidia-xconfig: version 1.0 (buildmeister@builder58) Wed Dec 9 16:34:26 PST 2009
    5
    6 # Xorg configuration created by system-config-display
    7
    8 Section "ServerLayout"
    9 Identifier "single head configuration"
    10 Screen 0 "Screen0" 0 0
    11 InputDevice "Mouse0" "CorePointer"
    12 InputDevice "Keyboard0" "CoreKeyboard"
    13 EndSection
    14
    15 Section "InputDevice"
    16 # generated from default
    17 Identifier "Mouse0"
    18 Driver "mouse"
    19 Option "Protocol" "auto"
    20 Option "Device" "/dev/input/mice"
    21 Option "Emulate3Buttons" "no"
    22 Option "ZAxisMapping" "4 5"
    23 EndSection
    24
    25 Section "InputDevice"
    26 Identifier "Keyboard0"
    27 Driver "kbd"
    28 Option "XkbModel" "pc105"
    29 Option "XkbLayout" "fr"
    30 EndSection
    31
    32 Section "Monitor"
    33 ### Comment all HorizSync and VertSync values to use DDC:
    34 Identifier "Monitor0"
    35 ModelName "LCD Panel 1680x1050"
    36 HorizSync 31.5 - 65.5
    37 VertRefresh 56.0 - 65.0
    38 Option "dpms"
    39 EndSection
    40
    41 Section "Module"
    42 Load "glx"
    43 Load "extmod"
    44 EndSection
    45
    46
    47 Section "Device"
    48 Identifier "Videocard0"
    49 Driver "nvidia"
    50 Option "AddARGBGLXVisuals" "True"
    51 Option "DisableGLXRootClipping" "True"
    52 EndSection
    53
    54 Section "Screen"
    55 Identifier "Screen0"
    56 Device "Videocard0"
    57 Monitor "Monitor0"
    58 DefaultDepth 24
    59 SubSection "Display"
    60 Viewport 0 0
    61 Depth 24
    62 EndSubSection
    63 EndSection
    64
    65 Section "DRI"
    66 Group 0
    67 Mode 0666
    68 EndSection


    以下是我的xorg.conf文件:

  • 相关阅读:
    [常用的Cmd运行命令]
    [Ajax三级联动 无刷新]
    [占位符   ]
    [String.Format(转换时间格式)]
    [ASP.NET应用到的时间处理函数]
    [SQL Server常用系统存储过程大全]
    [SQL Server创建视图时的注意点]
    [SQL Server 视图的创建- (create view必须是批处理中仅有的语句问题)]
    [SQL 高级查询运算符的用法 UNION (ALL),EXCEPT(ALL),INTERSECT(ALL) ]
    layui 表单遇到的小问题
  • 原文地址:https://www.cnblogs.com/beaver/p/1695352.html
Copyright © 2011-2022 走看看