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

  • 相关阅读:
    杨辉三角(hdu2032)——有待完善
    求平均成绩(hdu2023)
    绝对值排序(2020)——笔记待完善
    母牛的故事(hdu2018)——笔记待完善
    29.数据结构---栈,队列,数组,链表,哈希表
    16.PR将视频剪辑成任意形状
    28.集合1------List
    IDEA选中多行代码向左右移动缩进
    27.集合1------Collection
    IDEA显示单个文件结构
  • 原文地址:https://www.cnblogs.com/beaver/p/1695352.html
Copyright © 2011-2022 走看看