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

  • 相关阅读:
    codeforce 1478B B. Nezzar and Lucky Number 找规律 打表 C
    codeforce 1478C C. Nezzar and Symmetric Array 模拟 认真写 C
    Ansible自动化入门
    多线程执行传值
    js 文本框根据开始结束符号控制输入内容(IE)
    update where in 子查询的梗
    Qt中的QThread:使用QSemaphore进行多线程数据同步
    linux服务器下CPU爆满
    linux下磁盘爆满问题排查
    每日一题(算法)
  • 原文地址:https://www.cnblogs.com/beaver/p/1695352.html
Copyright © 2011-2022 走看看