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文件:

  • 相关阅读:
    C#读取Excel设置(亲测可用)
    vue element-ui的对话框dialog没有height怎么解决?
    sqlserver不同服务器的不同数据库如何复制
    es6-对象与数组的解构赋值
    win10电脑上不了网了
    sqlserver数据库备份之后再还原
    “相对路径”以及“绝对路径”使用之坑
    sqlserver表-添加大量测试数据
    vue文件命名规范
    Git大小写问题
  • 原文地址:https://www.cnblogs.com/beaver/p/1695352.html
Copyright © 2011-2022 走看看