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

  • 相关阅读:
    结合php ob函数理解缓冲机制
    php中的require-once
    PHP面试题基础问题
    Jquery显示与隐藏input默认值的实现代码
    win7下cmd常用命令
    采用cocos2d-x lua 的listview 实现pageview的翻页效果之上下翻页效果
    采用cocos2d-x lua 制作数字滚动效果样例
    luac++
    lua相关笔记
    cornerstone知识点
  • 原文地址:https://www.cnblogs.com/beaver/p/1695352.html
Copyright © 2011-2022 走看看